mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-14 13:45:36 +03:00
tests: make WebKit / GTK run all tests again (#383)
This commit is contained in:
parent
98a6f001bb
commit
58b8e66df8
@ -476,7 +476,7 @@ module.exports.describe = function({testRunner, expect, defaultBrowserOptions, p
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
describe.skip(FFOX)('Interception.authenticate', function() {
|
describe.skip(FFOX || (WEBKIT && process.platform === 'linux'))('Interception.authenticate', function() {
|
||||||
it('should work', async({page, server}) => {
|
it('should work', async({page, server}) => {
|
||||||
server.setAuth('/empty.html', 'user', 'pass');
|
server.setAuth('/empty.html', 'user', 'pass');
|
||||||
let response = await page.goto(server.EMPTY_PAGE);
|
let response = await page.goto(server.EMPTY_PAGE);
|
||||||
|
@ -172,7 +172,8 @@ module.exports.describe = function({testRunner, expect, headless, playwright, FF
|
|||||||
expect(await page.evaluate(() => !!window.opener)).toBe(false);
|
expect(await page.evaluate(() => !!window.opener)).toBe(false);
|
||||||
expect(await popup.evaluate(() => !!window.opener)).toBe(false);
|
expect(await popup.evaluate(() => !!window.opener)).toBe(false);
|
||||||
});
|
});
|
||||||
it.skip(FFOX)('should not treat navigations as new popups', async({page, server}) => {
|
// Crashes with Target closed on WebKit / Linux.
|
||||||
|
it.skip(WEBKIT || FFOX)('should not treat navigations as new popups', async({page, server}) => {
|
||||||
await page.goto(server.EMPTY_PAGE);
|
await page.goto(server.EMPTY_PAGE);
|
||||||
await page.setContent('<a target=_blank rel=noopener href="/one-style.html">yo</a>');
|
await page.setContent('<a target=_blank rel=noopener href="/one-style.html">yo</a>');
|
||||||
const [popup] = await Promise.all([
|
const [popup] = await Promise.all([
|
||||||
|
Loading…
Reference in New Issue
Block a user