Cypress · Senior · Question 42 of 76

How should tests interact with apps that use heavy client-side routing?

Show the answer

Correct answer: Assert on content of the new route, not on fixed waits

Explanation

Client-side routes change without page loads. Assert on URL and visible content to sync.

Further reading

Problem with a question

Cypress · Senior · question 42

Test yourself

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

Take this quiz