test: enable resource-timing test on BigSur (#4517)
It looks like the test is working! 🤷♂️
This commit is contained in:
parent
f916c98081
commit
062ec7e440
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue