Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

test: disable test on all bigsur (#5375)

Andrey Lushnikov1efcf442fb6e
diff --git a/test/capabilities.spec.ts b/test/capabilities.spec.ts
index 60747af2eb..0236bfc71f 100644
--- a/test/capabilities.spec.ts
+++ b/test/capabilities.spec.ts
@@ -53,7 +53,8 @@ it('should respect CSP', async ({page, server}) => {
it('should play video', (test, { browserName, platform }) => {
test.fixme(browserName === 'webkit' && platform !== 'darwin');
- test.fixme(browserName === 'webkit' && platform === 'darwin' && os.release() === '20.1.0');
+ // Doesnt' work on BigSur
+ test.fixme(browserName === 'webkit' && platform === 'darwin' && parseInt(os.release(), 10) >= 20);
}, async ({page, asset, isWebKit}) => {
// TODO: the test passes on Windows locally but fails on GitHub Action bot,
// apparently due to a Media Pack issue in the Windows Server.