fix lint
This commit is contained in:
parent
36a373519c
commit
9a32c239c3
|
|
@ -122,7 +122,7 @@ it('should intercept network activity from worker', async function({ page, serve
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should intercept worker requests when enabled after worker creation', {
|
it('should intercept worker requests when enabled after worker creation', {
|
||||||
annotation: { type: 'issue', name: 'https://github.com/microsoft/playwright/issues/32355' }
|
annotation: { type: 'issue', description: 'https://github.com/microsoft/playwright/issues/32355' }
|
||||||
}, async function({ page, server, isAndroid, browserName }) {
|
}, async function({ page, server, isAndroid, browserName }) {
|
||||||
it.skip(isAndroid);
|
it.skip(isAndroid);
|
||||||
it.fixme(browserName === 'chromium');
|
it.fixme(browserName === 'chromium');
|
||||||
|
|
@ -135,7 +135,7 @@ it('should intercept worker requests when enabled after worker creation', {
|
||||||
onmessage = function(e) {
|
onmessage = function(e) {
|
||||||
fetch("${url}").then(response => response.text()).then(console.log);
|
fetch("${url}").then(response => response.text()).then(console.log);
|
||||||
};
|
};
|
||||||
`], { type: 'application/javascript' })))
|
`], { type: 'application/javascript' })));
|
||||||
}, url);
|
}, url);
|
||||||
await page.route(url, route => {
|
await page.route(url, route => {
|
||||||
route.fulfill({
|
route.fulfill({
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue