|
|
|
|
|
by marcos0811258
16 days ago
|
|
You're right that file-level sharding is the trap. Setting fullyParallel: true makes Playwright shard individual tests instead of whole files. It balances by test count, not runtime, so your longest-shard tracking still matters. The totals check gets easier with the blob reporter: run each shard with reporter: 'blob', then npx playwright merge-reports --reporter html ./all-blob-reports. You get one report containing every shard's tests, so a mismatch against --list stands out. On throttling, workers default to half the logical CPU cores, and the workers option also accepts a percentage. If the count the runner picks is above your CPU limit, timeouts follow. Set workers explicitly in the pod config. |
|