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 crash tests on chromium ubuntu24 (#40156)

Dmitry Gozmanb7df9088550b
diff --git a/tests/library/page-event-crash.spec.ts b/tests/library/page-event-crash.spec.ts
index f4037f8805..460b20d966 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 }) => {