Playwright · Senior · Question 70 of 77
How should E2E test code be reviewed?
- 1It doesn't need review since it never reaches users
- 2Only by running it once and checking that it passes
- 3Like product code: readability, isolation, locators and asserts
Show the answer
Correct answer: Like product code: readability, isolation, locators and asserts
Explanation
Reviewers look for missing assertions, fragile locators, shared state and fixed waits, which prevents a flaky suite.