Cypress · Senior · Question 18 of 76

How should the balance between component and end-to-end tests be decided?

Show the answer

Correct answer: Logic and states in component tests; key journeys in E2E

Explanation

Component tests cover many states quickly. E2E proves integration on critical paths.

Further reading

Problem with a question

Cypress · Senior · question 18

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