test: enable passing request type test (#23273)

Fixes #22812
This commit is contained in:
Yury Semikhatsky 2023-05-25 09:43:41 -07:00 committed by GitHub
parent 342bae6c59
commit e0600f4799
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -119,9 +119,8 @@ it('should fire requestfailed when intercepting race', async ({ page, server, br
await promsie;
});
it('main resource xhr should have type xhr', async ({ page, server, browserName }) => {
it('main resource xhr should have type xhr', async ({ page, server }) => {
it.info().annotations.push({ type: 'issue', description: 'https://github.com/microsoft/playwright/issues/22812' });
it.fixme(browserName === 'webkit');
await page.goto(server.EMPTY_PAGE);
const [request] = await Promise.all([
page.waitForEvent('request'),