Skip to content

Commit

Permalink
test: increase page-event-crash timeout (#34178)
Browse files Browse the repository at this point in the history
  • Loading branch information
mxschmitt authored Jan 2, 2025
1 parent acdd666 commit 175f05c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/library/page-event-crash.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 175f05c

Please sign in to comment.