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: mark video & audio test as passing on mac12 (#11216)
Yury Semikhatsky8b580110b70a
diff --git a/tests/capabilities.spec.ts b/tests/capabilities.spec.tsindex b1c88cb163..b58b939887 100644--- a/tests/capabilities.spec.ts+++ b/tests/capabilities.spec.ts@@ -87,7 +87,6 @@ it('should play audio #smoke', async ({ page, server, browserName, platform }) =it.fixme(browserName === 'firefox' && platform === 'win32', 'https://github.com/microsoft/playwright/issues/10887');it.fixme(browserName === 'firefox' && platform === 'linux', 'https://github.com/microsoft/playwright/issues/10887');it.fixme(browserName === 'webkit' && platform === 'win32', 'https://github.com/microsoft/playwright/issues/10892');- it.fixme(browserName === 'webkit' && platform === 'darwin', 'https://github.com/microsoft/playwright/issues/10892');await page.goto(server.EMPTY_PAGE);await page.setContent(`<audio src="${server.PREFIX}/example.mp3"></audio>`);await page.$eval('audio', e => e.play());@@ -120,7 +119,6 @@ it('should support webgl 2 #smoke', async ({ page, browserName, headless }) => {it('should not crash on page with mp4 #smoke', async ({ page, server, platform, browserName }) => {it.fixme(browserName === 'webkit' && platform === 'win32', 'https://github.com/microsoft/playwright/issues/11009, times out in setContent');- it.fail(browserName === 'webkit' && platform === 'darwin' && parseInt(os.release(), 10) >= 21, 'https://github.com/microsoft/playwright/issues/11009');await page.setContent(`<video><source src="${server.PREFIX}/movie.mp4"/></video>`);await page.waitForTimeout(1000);});