Skip to content

Commit 342e79c

Browse files
committed
test: mark some tests as skipped (3)
1 parent 2f98b5e commit 342e79c

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

test/chromium/headful.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ module.exports.describe = function({testRunner, expect, playwright, defaultBrows
6262
await removeUserDataDir(userDataDir);
6363
});
6464
// TODO: Support OOOPIF. @see https://github.com/GoogleChrome/puppeteer/issues/2548
65-
xit('OOPIF: should report google.com frame', async({server}) => {
65+
it.fail(true)('OOPIF: should report google.com frame', async({server}) => {
6666
// https://google.com is isolated by default in Chromium embedder.
6767
const browser = await playwright.launch(headfulOptions);
6868
const page = await browser.newPage();

test/chromium/oopif.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ module.exports.describe = function({testRunner, expect, defaultBrowserOptions, p
4141
await state.browser.close();
4242
state.browser = null;
4343
});
44-
xit('should report oopif frames', async function({browser, page, server, context}) {
44+
it.fail(true)('should report oopif frames', async function({browser, page, server, context}) {
4545
const browserSession = await browser.createBrowserSession();
4646
await browserSession.send('Target.setDiscoverTargets', { discover: true });
4747
const oopifs = [];

test/click.spec.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ module.exports.describe = function({testRunner, expect, playwright, FFOX, CHROMI
308308
// @see https://github.com/GoogleChrome/puppeteer/issues/4110
309309
// @see https://bugs.chromium.org/p/chromium/issues/detail?id=986390
310310
// @see https://chromium-review.googlesource.com/c/chromium/src/+/1742784
311-
xit('should click the button with fixed position inside an iframe', async({page, server}) => {
311+
it.fail(true)('should click the button with fixed position inside an iframe', async({page, server}) => {
312312
await page.goto(server.EMPTY_PAGE);
313313
await page.setViewportSize({width: 500, height: 500});
314314
await page.setContent('<div style="width:100px;height:2000px">spacer</div>');
@@ -519,7 +519,7 @@ module.exports.describe = function({testRunner, expect, playwright, FFOX, CHROMI
519519
await page.click('button');
520520
expect(await page.evaluate('window.clicked')).toBe(true);
521521
});
522-
xit('should fail to click a button animated via CSS animations and setInterval', async({page}) => {
522+
it.fail(true)('should fail to click a button animated via CSS animations and setInterval', async({page}) => {
523523
// This test has a setInterval that consistently animates a button.
524524
// It checks that we detect the button to be continuously animating, and never try to click it.
525525
// This test exposes two issues:

test/features/permissions.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ module.exports.describe = function({testRunner, expect, WEBKIT}) {
2727
const {beforeAll, beforeEach, afterAll, afterEach} = testRunner;
2828

2929
// Permissions API is not implemented in WebKit (see https://developer.mozilla.org/en-US/docs/Web/API/Permissions_API)
30-
describe.fail(WEBKIT)('Permissions', function() {
30+
describe.skip(WEBKIT)('Permissions', function() {
3131
function getPermission(page, name) {
3232
return page.evaluate(name => navigator.permissions.query({name}).then(result => result.state), name);
3333
}

test/mouse.spec.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,8 @@ module.exports.describe = function({testRunner, expect, FFOX, CHROMIUM, WEBKIT,
149149
expect(await page.evaluate('result')).toEqual({x: 30, y: 40});
150150
await context.close();
151151
});
152-
describe('Drag and Drop', function() {
153-
xit('should work', async({server, page}) => {
152+
xdescribe('Drag and Drop', function() {
153+
it('should work', async({server, page}) => {
154154
await page.goto(server.PREFIX + '/drag-n-drop.html');
155155
await page.hover('#source');
156156
await page.mouse.down();

0 commit comments

Comments
 (0)