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.skip(isAndroid);
it('should report if request was fromServiceWorker', async ({ page, server, isAndroid, isElectron }) => {
it.skip(isAndroid || isElectron);
{
const res = await page.goto(server.PREFIX + '/serviceworkers/fetch/sw.html');
expect(res.fromServiceWorker()).toBe(false);