From 1efcf442fb6ed52cfb1052bd913472eaa28096aa Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Tue, 9 Feb 2021 08:33:56 -0800 Subject: [PATCH] test: disable test on all bigsur (#5375) Certain GitHub Macs got accidentally updated from 11.0 to 11.2, which broke this test check. --- test/capabilities.spec.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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.