From b6dbf6dcd1b93a57917aa379d10567bffa1409bb Mon Sep 17 00:00:00 2001 From: Dmitry Gozman Date: Fri, 10 Apr 2026 19:47:26 +0100 Subject: [PATCH] test: skip crash tests on chromium ubuntu24 --- tests/library/page-event-crash.spec.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/library/page-event-crash.spec.ts b/tests/library/page-event-crash.spec.ts index f4037f8805631..460b20d96623b 100644 --- a/tests/library/page-event-crash.spec.ts +++ b/tests/library/page-event-crash.spec.ts @@ -15,6 +15,7 @@ * limitations under the License. */ +import { utils } from '../../packages/playwright-core/lib/coreBundle'; import { contextTest as testBase, expect } from '../config/browserTest'; const test = testBase.extend<{ crash: () => void }, { dummy: string }>({ @@ -35,6 +36,7 @@ const test = testBase.extend<{ crash: () => void }, { dummy: string }>({ test.beforeEach(({ platform, browserName, channel }) => { test.slow(platform === 'linux' && (browserName === 'webkit'), 'WebKit/Linux tests are consistently slower on some Linux environments. Most likely WebContent process is not getting terminated properly and is causing the slowdown.'); test.fixme(channel === 'webkit-wsl', 'WebKit on WSL is even slower than above ^^ - skipping for now'); + test.skip(browserName === 'chromium' && utils.hostPlatform.startsWith('ubuntu24.04'), 'never dispatches the crash event'); }); test('should emit crash event when page crashes', async ({ page, crash }) => {