Skip to content

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

test: skip pickLocator cancellation test on chromium headed macOS 14 (#39642)

Yury Semikhatskyf026e4f76586
diff --git a/tests/library/inspector/recorder-api.spec.ts b/tests/library/inspector/recorder-api.spec.ts
index 981066e391..3411d569d7 100644
--- a/tests/library/inspector/recorder-api.spec.ts
+++ b/tests/library/inspector/recorder-api.spec.ts
@@ -181,7 +181,8 @@ test('closing page should cancel ongoing pickLocator', async ({ page }) => {
expect(await pickPromise).toContain('Target page, context or browser has been closed');
});
-test('page2.pickLocator() should cancel page1.pickLocator()', async ({ page, context }) => {
+test('page2.pickLocator() should cancel page1.pickLocator()', async ({ page, context, browserName, headless, isMac, macVersion }) => {
+ test.fixme(browserName === 'chromium' && !headless && isMac && macVersion === 14, 'times out on chromium headed on macOS 14');
const pick1Promise = page.pickLocator().catch(e => e.message);
const page2 = await context.newPage();