Currently I have my Cypress code writing out an email verification code to the log.
I need to take the six numbers from this value, to be inserted into a text field as a string.
The code I have in Cypress looks like this.
And the line of code related in the feature file looks like this.
I cannot pass the object into 'type' because it can only be a string or number.
Is there a way to take out the number element from the log to be used in the placeholderText part of the code I currently have?