Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions test/page-event-crash.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function crash(page, toImpl, browserName) {
}

describe('', (suite, { browserName, platform, wire }) => {
suite.fixme(wire);
suite.skip(wire && browserName !== 'chromium');
suite.flaky(browserName === 'firefox' && platform === 'win32');
}, () => {
it('should emit crash event when page crashes', async ({page, browserName, toImpl}) => {
Expand Down Expand Up @@ -63,10 +63,7 @@ describe('', (suite, { browserName, platform, wire }) => {
expect(error.message).toContain('Navigation failed because page crashed');
});

it('should be able to close context when page crashes', (test, { browserName, platform, wire }) => {
test.fixme(wire);
test.flaky(browserName === 'firefox' && platform === 'win32');
}, async ({page, browserName, toImpl}) => {
it('should be able to close context when page crashes', async ({page, browserName, toImpl}) => {
await page.setContent(`<div>This page should crash</div>`);
crash(page, toImpl, browserName);
await page.waitForEvent('crash');
Expand Down