mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
test: mark some tests as skipped (3)
This commit is contained in:
parent
2f98b5e26a
commit
342e79c5b4
@ -62,7 +62,7 @@ module.exports.describe = function({testRunner, expect, playwright, defaultBrows
|
||||
await removeUserDataDir(userDataDir);
|
||||
});
|
||||
// TODO: Support OOOPIF. @see https://github.com/GoogleChrome/puppeteer/issues/2548
|
||||
xit('OOPIF: should report google.com frame', async({server}) => {
|
||||
it.fail(true)('OOPIF: should report google.com frame', async({server}) => {
|
||||
// https://google.com is isolated by default in Chromium embedder.
|
||||
const browser = await playwright.launch(headfulOptions);
|
||||
const page = await browser.newPage();
|
||||
|
@ -41,7 +41,7 @@ module.exports.describe = function({testRunner, expect, defaultBrowserOptions, p
|
||||
await state.browser.close();
|
||||
state.browser = null;
|
||||
});
|
||||
xit('should report oopif frames', async function({browser, page, server, context}) {
|
||||
it.fail(true)('should report oopif frames', async function({browser, page, server, context}) {
|
||||
const browserSession = await browser.createBrowserSession();
|
||||
await browserSession.send('Target.setDiscoverTargets', { discover: true });
|
||||
const oopifs = [];
|
||||
|
@ -308,7 +308,7 @@ module.exports.describe = function({testRunner, expect, playwright, FFOX, CHROMI
|
||||
// @see https://github.com/GoogleChrome/puppeteer/issues/4110
|
||||
// @see https://bugs.chromium.org/p/chromium/issues/detail?id=986390
|
||||
// @see https://chromium-review.googlesource.com/c/chromium/src/+/1742784
|
||||
xit('should click the button with fixed position inside an iframe', async({page, server}) => {
|
||||
it.fail(true)('should click the button with fixed position inside an iframe', async({page, server}) => {
|
||||
await page.goto(server.EMPTY_PAGE);
|
||||
await page.setViewportSize({width: 500, height: 500});
|
||||
await page.setContent('<div style="width:100px;height:2000px">spacer</div>');
|
||||
@ -519,7 +519,7 @@ module.exports.describe = function({testRunner, expect, playwright, FFOX, CHROMI
|
||||
await page.click('button');
|
||||
expect(await page.evaluate('window.clicked')).toBe(true);
|
||||
});
|
||||
xit('should fail to click a button animated via CSS animations and setInterval', async({page}) => {
|
||||
it.fail(true)('should fail to click a button animated via CSS animations and setInterval', async({page}) => {
|
||||
// This test has a setInterval that consistently animates a button.
|
||||
// It checks that we detect the button to be continuously animating, and never try to click it.
|
||||
// This test exposes two issues:
|
||||
|
@ -27,7 +27,7 @@ module.exports.describe = function({testRunner, expect, WEBKIT}) {
|
||||
const {beforeAll, beforeEach, afterAll, afterEach} = testRunner;
|
||||
|
||||
// Permissions API is not implemented in WebKit (see https://developer.mozilla.org/en-US/docs/Web/API/Permissions_API)
|
||||
describe.fail(WEBKIT)('Permissions', function() {
|
||||
describe.skip(WEBKIT)('Permissions', function() {
|
||||
function getPermission(page, name) {
|
||||
return page.evaluate(name => navigator.permissions.query({name}).then(result => result.state), name);
|
||||
}
|
||||
|
@ -149,8 +149,8 @@ module.exports.describe = function({testRunner, expect, FFOX, CHROMIUM, WEBKIT,
|
||||
expect(await page.evaluate('result')).toEqual({x: 30, y: 40});
|
||||
await context.close();
|
||||
});
|
||||
describe('Drag and Drop', function() {
|
||||
xit('should work', async({server, page}) => {
|
||||
xdescribe('Drag and Drop', function() {
|
||||
it('should work', async({server, page}) => {
|
||||
await page.goto(server.PREFIX + '/drag-n-drop.html');
|
||||
await page.hover('#source');
|
||||
await page.mouse.down();
|
||||
|
Loading…
x
Reference in New Issue
Block a user