Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

test: dont flake on weight recommendations (#38756)

Simon Knottb2debf4e4e2c
diff --git a/tests/playwright-test/reporter-html.spec.ts b/tests/playwright-test/reporter-html.spec.ts
index 128e3c417e..c3014f1102 100644
--- a/tests/playwright-test/reporter-html.spec.ts
+++ b/tests/playwright-test/reporter-html.spec.ts
@@ -3357,7 +3357,7 @@ for (const useIntermediateMergeReport of [true, false] as const) {
- text: Use shard weights to
- link "rebalance your shards":
- /url: https://playwright.dev/docs/test-sharding#rebalancing-shards
- - text: ": @linux: npx playwright test --shard-weights=67:33:0 @mac: npx playwright test --shard-weights=67:33"
+ - text: /@linux. npx playwright test --shard-weights=\\d+:\\d+:\\d+ @mac. npx playwright test --shard-weights=\\d+:\\d+/
`);
});
});