sincecutoff.com
← all changes

Playwright test runner shuffles test order with a reproducible seed

Introduced 2026-10-07 · score 0.98

HOW TO USE IT

When investigating tests that may depend on execution order, run the suite with `--shuffle` to randomize its order. Re-run with the emitted seed to reproduce that order.

npx playwright test --shuffle
npx playwright test --shuffle <seed>

WHY THIS HELPS

Find tests that depend on execution order while debugging a test suite.

REQUIREMENTS AND LIMITATIONS

  • Version: v1.64.0
  • --shuffle [seed]: Randomizes test-file order and tests in parallel mode; pass a seed to reproduce a previous order.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card