test(electron): skip fromServiceWorker
This commit is contained in:
parent
e4c60d47b1
commit
211fae295f
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue