Skip to content

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

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

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