Playwright · Senior · Question 2 of 77

How does --shard=2/4 split the work?

Show the answer

Correct answer: It runs about a quarter of the tests, the second part

Explanation

Shards split tests between machines. With fullyParallel: true, splitting is per test, which balances better than per file.

Further reading

Problem with a question

Playwright · Senior · question 2

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