test: skip should handle timeout properly 2 on tracing bots (#36399)

This commit is contained in:
Dmitry Gozman 2025-06-23 11:01:14 +01:00 committed by GitHub
parent 6c26c5f6ac
commit 06a065de7c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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) {}