diff --git a/tests/playwright-test/reporter-html.spec.ts b/tests/playwright-test/reporter-html.spec.ts index 9d9584b5f8..dc1e3759e5 100644 --- a/tests/playwright-test/reporter-html.spec.ts +++ b/tests/playwright-test/reporter-html.spec.ts @@ -933,7 +933,7 @@ for (const useIntermediateMergeReport of [true, false] as const) { await page.waitForURL(url => { const navState = new URLSearchParams(url.hash.slice(1)); - return navState.get('attachment') === 'foo'; + return navState.get('anchor') === 'attachment-foo'; }); });