Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
test: increase page-event-crash timeout (#34178)
Max Schmitt175f05cafccf
diff --git a/tests/library/page-event-crash.spec.ts b/tests/library/page-event-crash.spec.tsindex 1bf9c396dd..d185fa5a19 100644--- a/tests/library/page-event-crash.spec.ts+++ b/tests/library/page-event-crash.spec.ts@@ -32,6 +32,10 @@ const test = testBase.extend<{ crash: () => void }, { dummy: string }>({dummy: ['', { scope: 'worker' }],});+test.beforeEach(({ platform, browserName }) => {+ 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('should emit crash event when page crashes', async ({ page, crash }) => {await page.setContent(`<div>This page should crash</div>`);crash();