mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
test: uncomment slow ff tests (#1479)
This commit is contained in:
parent
049fdf708c
commit
23e5d80e06
@ -237,7 +237,7 @@ module.exports.describe = function({testRunner, expect, playwright, headless, FF
|
|||||||
await page.emulateMedia({ colorScheme: 'bad' }).catch(e => error = e);
|
await page.emulateMedia({ colorScheme: 'bad' }).catch(e => error = e);
|
||||||
expect(error.message).toBe('Unsupported color scheme: bad');
|
expect(error.message).toBe('Unsupported color scheme: bad');
|
||||||
});
|
});
|
||||||
it.fail(FFOX)('should work during navigation', async({page, server}) => {
|
it('should work during navigation', async({page, server}) => {
|
||||||
await page.emulateMedia({ colorScheme: 'light' });
|
await page.emulateMedia({ colorScheme: 'light' });
|
||||||
const navigated = page.goto(server.EMPTY_PAGE);
|
const navigated = page.goto(server.EMPTY_PAGE);
|
||||||
for (let i = 0; i < 9; i++) {
|
for (let i = 0; i < 9; i++) {
|
||||||
|
@ -40,8 +40,8 @@ module.exports.describe = function({testRunner, expect, browserType, defaultBrow
|
|||||||
await browserContext.close();
|
await browserContext.close();
|
||||||
await removeUserDataDir(userDataDir);
|
await removeUserDataDir(userDataDir);
|
||||||
});
|
});
|
||||||
// see https://github.com/microsoft/playwright/issues/717
|
it.slow().fail(WIN && CHROMIUM)('headless should be able to read cookies written by headful', async({server}) => {
|
||||||
it.slow().fail((WIN && CHROMIUM) || FFOX)('headless should be able to read cookies written by headful', async({server}) => {
|
// see https://github.com/microsoft/playwright/issues/717
|
||||||
const userDataDir = await makeUserDataDir();
|
const userDataDir = await makeUserDataDir();
|
||||||
// Write a cookie in headful chrome
|
// Write a cookie in headful chrome
|
||||||
const headfulContext = await browserType.launchPersistentContext(userDataDir, headfulOptions);
|
const headfulContext = await browserType.launchPersistentContext(userDataDir, headfulOptions);
|
||||||
|
@ -291,7 +291,7 @@ module.exports.describe = function({testRunner, expect, defaultBrowserOptions, p
|
|||||||
// This might throw. See https://github.com/GoogleChrome/puppeteer/issues/2778
|
// This might throw. See https://github.com/GoogleChrome/puppeteer/issues/2778
|
||||||
await removeUserDataDir(userDataDir);
|
await removeUserDataDir(userDataDir);
|
||||||
});
|
});
|
||||||
it.slow().fail(FFOX)('userDataDir option should restore state', async({server}) => {
|
it.slow()('userDataDir option should restore state', async({server}) => {
|
||||||
const userDataDir = await makeUserDataDir();
|
const userDataDir = await makeUserDataDir();
|
||||||
const browserContext = await browserType.launchPersistentContext(userDataDir, defaultBrowserOptions);
|
const browserContext = await browserType.launchPersistentContext(userDataDir, defaultBrowserOptions);
|
||||||
const page = await browserContext.newPage();
|
const page = await browserContext.newPage();
|
||||||
|
@ -224,7 +224,7 @@ module.exports.describe = function({testRunner, expect, headless, playwright, FF
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
// @see https://github.com/GoogleChrome/puppeteer/issues/3865
|
// @see https://github.com/GoogleChrome/puppeteer/issues/3865
|
||||||
it.fail(FFOX)('should not throw when there are console messages in detached iframes', async({page, server}) => {
|
it('should not throw when there are console messages in detached iframes', async({page, server}) => {
|
||||||
await page.goto(server.EMPTY_PAGE);
|
await page.goto(server.EMPTY_PAGE);
|
||||||
const [popup] = await Promise.all([
|
const [popup] = await Promise.all([
|
||||||
page.waitForEvent('popup'),
|
page.waitForEvent('popup'),
|
||||||
|
@ -87,7 +87,7 @@ module.exports.describe = function({testRunner, expect, playwright, CHROMIUM, WE
|
|||||||
await context.close();
|
await context.close();
|
||||||
expect(request.headers['foo']).toBe('bar');
|
expect(request.headers['foo']).toBe('bar');
|
||||||
});
|
});
|
||||||
it.fail(FFOX)('should inherit offline from browser context', async function({browser, server}) {
|
it('should inherit offline from browser context', async function({browser, server}) {
|
||||||
const context = await browser.newContext();
|
const context = await browser.newContext();
|
||||||
const page = await context.newPage();
|
const page = await context.newPage();
|
||||||
await page.goto(server.EMPTY_PAGE);
|
await page.goto(server.EMPTY_PAGE);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user