Cypress · Middle · Question 23 of 77
What are "app actions" in Cypress testing?
- 1Clicking through the app like a real user in each step
- 2Actions that the app sends to an analytics service
- 3Calling app code directly, e.g. via
window, to set up state
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.