Cypress · Middle · Question 23 of 77

What are "app actions" in Cypress testing?

Show the answer

Correct answer: Calling app code directly, e.g. via window, to set up state

Explanation

Exposing a store or helper on window in test builds lets tests set state instantly. It's an alternative to big page objects.

Further reading

Problem with a question

Cypress · Middle · question 23

Test yourself

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

Take this quiz