Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
test: add fixme's (#20826)
Pavel Feldman6920a82f50de
diff --git a/tests/library/browsercontext-proxy.spec.ts b/tests/library/browsercontext-proxy.spec.tsindex a25965e4d4..b73138b1b9 100644--- a/tests/library/browsercontext-proxy.spec.ts+++ b/tests/library/browsercontext-proxy.spec.ts@@ -210,7 +210,8 @@ it('should use proxy for second page', async ({ contextFactory, server, proxySerawait context.close();});-it('should use proxy for https urls', async ({ contextFactory, server, httpsServer, proxyServer }) => {+it('should use proxy for https urls', async ({ contextFactory, httpsServer, proxyServer, isWindows, browserName }) => {+ it.fixme(browserName === 'webkit' && isWindows, 'Fixed upstream, https://github.com/microsoft/playwright/issues/20822');httpsServer.setRoute('/target.html', async (req, res) => {res.end('<html><title>Served by https server via proxy</title></html>');});diff --git a/tests/page/page-click.spec.ts b/tests/page/page-click.spec.tsindex 36b8310151..1c8a8dd6a3 100644--- a/tests/page/page-click.spec.ts+++ b/tests/page/page-click.spec.ts@@ -1075,8 +1075,7 @@ it('ensure events are dispatched in the individual tasks', async ({ page, browse// Click on the inner div elementawait page.locator('#inner').click();- // await new Promise(() => {});- expect(messages).toEqual([+ await expect.poll(() => messages).toEqual(['click inner','promise inner','click outer',diff --git a/tests/page/page-drag.spec.ts b/tests/page/page-drag.spec.tsindex 5cf3f8e375..2db82fc47b 100644--- a/tests/page/page-drag.spec.ts+++ b/tests/page/page-drag.spec.ts@@ -67,7 +67,8 @@ it.describe('Drag and drop', () => {]);});- it('should work inside iframe', async ({ page, server, browserName }) => {+ it('should work inside iframe', async ({ page, server, browserName, isElectron, isWindows }) => {+ it.fixme(isElectron && isWindows, 'Fails on the bots');await page.goto(server.EMPTY_PAGE);const frame = await attachFrame(page, 'myframe', server.PREFIX + '/drag-n-drop.html');await page.$eval('iframe', iframe => {diff --git a/tests/page/page-screenshot.spec.ts b/tests/page/page-screenshot.spec.tsindex 3fa7c2e359..9b2c472986 100644--- a/tests/page/page-screenshot.spec.ts+++ b/tests/page/page-screenshot.spec.ts@@ -268,8 +268,9 @@ it.describe('page screenshot', () => {expect(screenshot).toMatchSnapshot('screenshot-clip-odd-size.png');});- it('should work for canvas', async ({ page, server, browserName, channel, browserMajorVersion }) => {+ it('should work for canvas', async ({ page, server, browserName, channel, browserMajorVersion, isElectron, isMac }) => {it.fixme(browserName === 'firefox' && channel === 'firefox-beta' && browserMajorVersion === 110, 'https://github.com/microsoft/playwright/issues/20522');+ it.fixme(isElectron && isMac, 'Fails on the bots');await page.setViewportSize({ width: 500, height: 500 });await page.goto(server.PREFIX + '/screenshots/canvas.html');const screenshot = await page.screenshot();