mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
test: skip should handle timeout properly 2
on tracing bots (#36399)
This commit is contained in:
parent
6c26c5f6ac
commit
06a065de7c
@ -148,7 +148,9 @@ it('should handle timeout properly', async ({ page, toImpl, browserName }) => {
|
|||||||
await expect(page.locator('div')).toHaveText('world');
|
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(() => {
|
await toImpl(page).mainFrame().evaluateExpression(String(() => {
|
||||||
document.close = () => {
|
document.close = () => {
|
||||||
while (true) {}
|
while (true) {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user