test: disable test on all bigsur (#5375)

Certain GitHub Macs got accidentally updated from 11.0 to 11.2,
which broke this test check.
This commit is contained in:
Andrey Lushnikov 2021-02-09 08:33:56 -08:00 committed by GitHub
parent ad557dc6da
commit 1efcf442fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.