test: skip test in electron

Follow-up for #12371
This commit is contained in:
Max Schmitt 2022-02-26 00:17:37 +01:00
parent e035ed488c
commit 6438aed36c

View File

@ -57,7 +57,8 @@ it('should fulfill intercepted response', async ({ page, server, isElectron, isA
expect(await page.evaluate(() => document.body.textContent)).toBe('Yo, page!');
});
it('should fulfill response with empty body', async ({ page, server, isAndroid }) => {
it('should fulfill response with empty body', async ({ page, server, isAndroid, browserName, browserMajorVersion }) => {
it.skip(browserName === 'chromium' && browserMajorVersion <= 91, 'Fails in Electron that uses old Chromium');
it.skip(isAndroid, 'The internal Android localhost (10.0.0.2) != the localhost on the host');
await page.route('**/*', async route => {
const response = await page.request.fetch(route.request());