test(electron): skip fromServiceWorker

This commit is contained in:
Pavel Feldman 2022-06-09 13:40:29 -07:00
parent e4c60d47b1
commit 211fae295f

View file

@ -319,8 +319,8 @@ it('should return headers after route.fulfill', async ({ page, server }) => {
}); });
}); });
it('should report if request was fromServiceWorker', async ({ page, server, isAndroid }) => { it('should report if request was fromServiceWorker', async ({ page, server, isAndroid, isElectron }) => {
it.skip(isAndroid); it.skip(isAndroid || isElectron);
{ {
const res = await page.goto(server.PREFIX + '/serviceworkers/fetch/sw.html'); const res = await page.goto(server.PREFIX + '/serviceworkers/fetch/sw.html');
expect(res.fromServiceWorker()).toBe(false); expect(res.fromServiceWorker()).toBe(false);