Testing · Senior · Question 54 of 75
Why can't Cypress commands be mixed with async/await?
- ✓Correct answer: Commands are enqueued and executed later by Cypress, they return chainables, not promises
- 2Cypress doesn't support ES2017
- 3Because Cypress runs in Node.js
Explanation
Values are obtained with .then(), aliases (.as()) or assertions with .should().