Playwright · Middle · Question 50 of 75
What does npx playwright test --last-failed do?
- 1Re-runs only tests that failed last time
- 2Shows the last failure in the HTML report
- 3Deletes the results of the previous run
Show the answer
Correct answer: Re-runs only tests that failed last time
Explanation
It speeds up the fix-and-check loop after a big run.