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: enable video test on macos monterey+ (#20420)
Yury Semikhatsky99f0560122e8
diff --git a/tests/library/capabilities.spec.ts b/tests/library/capabilities.spec.tsindex 07fb4376a1..755d75520b 100644--- a/tests/library/capabilities.spec.ts+++ b/tests/library/capabilities.spec.ts@@ -72,7 +72,7 @@ it('should play video @smoke', async ({ page, asset, browserName, platform, mode// Also the test is very flaky on Linux WebKit.it.fixme(browserName === 'webkit' && platform !== 'darwin');it.fixme(browserName === 'firefox', 'https://github.com/microsoft/playwright/issues/5721');- it.fixme(browserName === 'webkit' && platform === 'darwin' && parseInt(os.release(), 10) >= 20, 'Does not work on BigSur');+ it.fixme(browserName === 'webkit' && platform === 'darwin' && parseInt(os.release(), 10) === 20, 'Does not work on BigSur');// Safari only plays mp4 so we test WebKit with an .mp4 clip.const fileName = browserName === 'webkit' ? 'video_mp4.html' : 'video.html';