Playwright · Junior · Question 4 of 75
Which command runs all Playwright tests in the project?
- 1
npx playwright test - 2
npx playwright run --all - 3
npm run playwright start
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.