test: enable resource-timing test on BigSur (#4517)

It looks like the test is working! 🤷‍♂️
This commit is contained in:
Andrey Lushnikov 2020-11-23 16:22:15 -08:00 committed by GitHub
parent f916c98081
commit 062ec7e440
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,10 +18,7 @@
import { expect, it } from './fixtures'; import { expect, it } from './fixtures';
import * as os from 'os'; import * as os from 'os';
it('should work', (test, { browserName, platform }) => { it('should work', async ({ page, server }) => {
const isBigSur = platform === 'darwin' && parseInt(os.release(), 10) >= 20;
test.fail(isBigSur && browserName === 'webkit', 'Resource timing is -1 on BigSur');
}, async ({ page, server }) => {
const [request] = await Promise.all([ const [request] = await Promise.all([
page.waitForEvent('requestfinished'), page.waitForEvent('requestfinished'),
page.goto(server.EMPTY_PAGE) page.goto(server.EMPTY_PAGE)