Playwright · Senior · Question 8 of 77
Why should E2E tests not try to cover every business rule?
- 1Business rules should never be tested at all
- 2Playwright can't check business logic in the browser
- 3They're slow and costly; rules are cheaper to test lower
Show the answer
Correct answer: They're slow and costly; rules are cheaper to test lower
Explanation
E2E checks that key user journeys work end to end. Combinations of rules belong to unit and API tests, which are faster and pinpoint failures.