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: unskip 'msedge' tests (#29456)
Max Schmittb15a7076dcfd
diff --git a/tests/library/browsertype-launch-server.spec.ts b/tests/library/browsertype-launch-server.spec.tsindex d9c8f407d0..dcb69d614b 100644--- a/tests/library/browsertype-launch-server.spec.ts+++ b/tests/library/browsertype-launch-server.spec.ts@@ -80,9 +80,7 @@ it.describe('launch server', () => {await browserServer.close();});- it('should fire close event', async ({ browserType, channel }) => {- it.fixme(channel?.startsWith('msedge'), 'https://github.com/microsoft/playwright/issues/26711');-+ it('should fire close event', async ({ browserType }) => {const browserServer = await browserType.launchServer();const [result] = await Promise.all([// @ts-expect-error The signal parameter is not documented.diff --git a/tests/page/page-accessibility.spec.ts b/tests/page/page-accessibility.spec.tsindex 3c71479e17..496819ce95 100644--- a/tests/page/page-accessibility.spec.ts+++ b/tests/page/page-accessibility.spec.ts@@ -143,9 +143,8 @@ it('should not report text nodes inside controls', async function({ page, browseexpect(await page.accessibility.snapshot()).toEqual(golden);});-it('rich text editable fields should have children', async function({ page, browserName, browserVersion, channel, isWebView2 }) {+it('rich text editable fields should have children', async function({ page, browserName, browserVersion, isWebView2 }) {it.skip(browserName === 'webkit', 'WebKit rich text accessibility is iffy');- it.skip(channel && channel.startsWith('msedge'), 'Edge is missing a Chromium fix');it.skip(isWebView2, 'WebView2 is missing a Chromium fix');await page.setContent(`@@ -178,9 +177,8 @@ it('rich text editable fields should have children', async function({ page, browexpect(snapshot.children[0]).toEqual(golden);});-it('rich text editable fields with role should have children', async function({ page, browserName, browserMajorVersion, browserVersion, channel, isWebView2 }) {+it('rich text editable fields with role should have children', async function({ page, browserName, browserMajorVersion, browserVersion, isWebView2 }) {it.skip(browserName === 'webkit', 'WebKit rich text accessibility is iffy');- it.skip(channel && channel.startsWith('msedge'), 'Edge is missing a Chromium fix');it.skip(isWebView2, 'WebView2 is missing a Chromium fix');await page.setContent(`diff --git a/tests/page/page-click-scroll.spec.ts b/tests/page/page-click-scroll.spec.tsindex 464801afdd..d3e55cdffb 100644--- a/tests/page/page-click-scroll.spec.ts+++ b/tests/page/page-click-scroll.spec.ts@@ -78,9 +78,8 @@ it('should scroll into view display:contents with position', async ({ page, browexpect(await page.evaluate('window._clicked')).toBe(true);});-it('should not crash when force-clicking hidden input', async ({ page, browserName, channel, browserMajorVersion }) => {+it('should not crash when force-clicking hidden input', async ({ page }) => {it.info().annotations.push({ type: 'issue', description: 'https://github.com/microsoft/playwright/issues/18183' });- it.skip(browserName === 'chromium' && browserMajorVersion < 109 || channel && channel.startsWith('msedge') && browserMajorVersion < 110);await page.setContent(`<input type=hidden>`);const error = await page.locator('input').click({ force: true, timeout: 2000 }).catch(e => e);