diff --git a/tests/page/page-set-content.spec.ts b/tests/page/page-set-content.spec.ts index 38f5f111cc..33e04c8604 100644 --- a/tests/page/page-set-content.spec.ts +++ b/tests/page/page-set-content.spec.ts @@ -148,7 +148,9 @@ it('should handle timeout properly', async ({ page, toImpl, browserName }) => { await expect(page.locator('div')).toHaveText('world'); }); -it('should handle timeout properly 2', async ({ page, toImpl }) => { +it('should handle timeout properly 2', async ({ page, toImpl, trace }) => { + it.skip(trace === 'on'); + await toImpl(page).mainFrame().evaluateExpression(String(() => { document.close = () => { while (true) {}