IKivan-kozenko -aqa
Try yourself as a QA tester
Back to topic

Quiz

Sharding

Check yourself

  1. 1.You set up 4 shards in CI. Three shards finish in 3 minutes, one takes 12 minutes. The total CI time is 12 minutes instead of the expected ~3. What's most likely causing the imbalance?
  2. 2.After all 4 shards finish, you want to see a single HTML report with all results combined. What do you need to configure and run?
  3. 3.What is the correct syntax to run the second shard out of four total shards?
  4. 4.How does Playwright distribute tests across shards by default (without fullyParallel)?
  5. 5.In a GitHub Actions matrix strategy for sharding, what does fail-fast: false do and why is it important?
  6. 6.A test retries once and passes on the retry. Which shard runs the retry — the same shard that had the original failure, or potentially a different one?
  7. 7.You have 400 tests and use 4 shards, each with workers: 2. How many tests can run simultaneously at peak?
  8. 8.After all shards finish and upload their blob reports, what command merges them into a single HTML report?