Playwright · Junior · Question 4 of 75

Which command runs all Playwright tests in the project?

Show the answer

Correct answer: npx playwright test

Explanation

npx playwright test finds test files in testDir, runs them in parallel across the configured projects, and prints results with the configured reporters.

Further reading

Problem with a question

Playwright · Junior · question 4

Test yourself

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

Take this quiz