Skip to content

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

test: skip 'should play video' on macOS Big Sur (#4198)

Max Schmitt45bb984cf0d1
diff --git a/test/capabilities.spec.ts b/test/capabilities.spec.ts
index 0a3aca9a0e..ac2b4e62ca 100644
--- a/test/capabilities.spec.ts
+++ b/test/capabilities.spec.ts
@@ -14,6 +14,7 @@
* limitations under the License.
*/
+import os from 'os';
import url from 'url';
import { it, expect } from './fixtures';
@@ -51,7 +52,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');
+ test.fixme(browserName === 'webkit' && platform === 'darwin' && os.release() === '20.1.0');
}, 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.