Testing · Senior · Question 54 of 75

Why can't Cypress commands be mixed with async/await?

Explanation

Values are obtained with .then(), aliases (.as()) or assertions with .should().

Further reading

Problem with a question

Testing · Senior · question 54

Test yourself

Take the Testing · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz