mirror of
https://github.com/microsoft/playwright.git
synced 2024-09-11 20:37:54 +03:00
feat(chromium-tip-of-tree): roll to r1246 (#31951)
This commit is contained in:
parent
bbe252a3d7
commit
c858554dca
@ -9,9 +9,9 @@
|
||||
},
|
||||
{
|
||||
"name": "chromium-tip-of-tree",
|
||||
"revision": "1245",
|
||||
"revision": "1246",
|
||||
"installByDefault": false,
|
||||
"browserVersion": "129.0.6626.0"
|
||||
"browserVersion": "129.0.6630.0"
|
||||
},
|
||||
{
|
||||
"name": "firefox",
|
||||
|
@ -147,7 +147,7 @@ it('should not crash on showDirectoryPicker', async ({ page, server, browserName
|
||||
const dir = await (window as any).showDirectoryPicker();
|
||||
return dir.name;
|
||||
// In headless it throws (aborted), in headed it stalls (Test ended) and waits for the picker to be accepted.
|
||||
}).catch(e => expect(e.message).toMatch(/((DOMException|AbortError): The user aborted a request|Test ended)/));
|
||||
}).catch(e => expect(e.message).toMatch(/((DOMException|AbortError): .*The user aborted a request|Test ended)/));
|
||||
// The dialog will not be accepted, so we just wait for some time to
|
||||
// to give the browser a chance to crash.
|
||||
await page.waitForTimeout(3_000);
|
||||
|
Loading…
Reference in New Issue
Block a user