Playwright · Middle · Question 50 of 75

What does npx playwright test --last-failed do?

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.

Further reading

Problem with a question

Playwright · Middle · question 50

Test yourself

Take the Playwright · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz