Skip to content

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

test(recorder): skip flaky CDP eval test on macOS < 15 (#36891)

Max Schmittbe4047685284
diff --git a/tests/library/inspector/cli-codegen-2.spec.ts b/tests/library/inspector/cli-codegen-2.spec.ts
index 3b961d543e..aae62e75e9 100644
--- a/tests/library/inspector/cli-codegen-2.spec.ts
+++ b/tests/library/inspector/cli-codegen-2.spec.ts
@@ -90,7 +90,9 @@ var page1 = await context.NewPageAsync();`);
await page.CloseAsync();`);
});
- test('should not lead to an error if html gets clicked', async ({ openRecorder }) => {
+ test('should not lead to an error if html gets clicked', async ({ openRecorder, platform, macVersion }) => {
+ test.skip(platform === 'darwin' && macVersion < 15, 'recorder.page.evaluate hangs on CDP layer for some reason on macOS 14.');
+
const { page, recorder } = await openRecorder();
await recorder.setContentAndWait('');