diff --git a/tests/playwright-test/test-step.spec.ts b/tests/playwright-test/test-step.spec.ts index beb0c865a2..1cb8950ccf 100644 --- a/tests/playwright-test/test-step.spec.ts +++ b/tests/playwright-test/test-step.spec.ts @@ -1448,10 +1448,7 @@ fixture | fixture: context }); test('reading network request / response should not be listed as step', { - annotation: [ - { type: 'issue', description: 'https://github.com/microsoft/playwright/issues/33558' }, - { type: 'issue', description: 'https://github.com/microsoft/playwright/issues/34840' }, - ] + annotation: { type: 'issue', description: 'https://github.com/microsoft/playwright/issues/33558' } }, async ({ runInlineTest, server }) => { const result = await runInlineTest({ 'reporter.ts': stepIndentReporter, @@ -1465,11 +1462,6 @@ test('reading network request / response should not be listed as step', { page.on('response', async response => { await response.text(); }); - await page.route('**/*', async route => { - const response = await route.fetch(); - await response.text(); - await route.fallback(); - }); await page.goto('${server.EMPTY_PAGE}'); }); ` @@ -1484,8 +1476,7 @@ fixture | fixture: context pw:api | browser.newContext fixture | fixture: page pw:api | browserContext.newPage -pw:api |page.route @ a.test.ts:10 -pw:api |page.goto(${server.EMPTY_PAGE}) @ a.test.ts:15 +pw:api |page.goto(${server.EMPTY_PAGE}) @ a.test.ts:10 hook |After Hooks fixture | fixture: page fixture | fixture: context