revert other changes

This commit is contained in:
Simon Knott 2025-02-25 09:32:25 +01:00
parent 66a3d4de71
commit 8ab12c0779
No known key found for this signature in database
GPG key ID: 8CEDC00028084AEC

View file

@ -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