Playwright · Senior · Question 5 of 77

What does --only-changed do?

Show the answer

Correct answer: Runs only test files affected by Git changes

Explanation

It compares against a Git ref and runs changed test files and those importing changed files. It's a fast pre-check, not a replacement for the full suite.

Further reading

Problem with a question

Playwright · Senior · question 5

Test yourself

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

Take this quiz