From e45c5c1fb9382411373163041e5a8a512ad2d924 Mon Sep 17 00:00:00 2001 From: Dmitry Gozman Date: Thu, 28 Nov 2024 12:08:34 +0000 Subject: [PATCH] test: skip 'should not auto play audio' with frozen time --- tests/library/capabilities.spec.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/library/capabilities.spec.ts b/tests/library/capabilities.spec.ts index 7526359c20..03ff1d7feb 100644 --- a/tests/library/capabilities.spec.ts +++ b/tests/library/capabilities.spec.ts @@ -436,6 +436,7 @@ it('should not auto play audio', { } }, async ({ page, browserName, isWindows }) => { it.fixme(browserName === 'webkit' && isWindows); + it.skip(process.env.PW_CLOCK === 'frozen', 'no way to inject real setTimeout'); await page.route('**/*', async route => { await route.fulfill({ status: 200,