mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00: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",
|
"name": "chromium-tip-of-tree",
|
||||||
"revision": "1245",
|
"revision": "1246",
|
||||||
"installByDefault": false,
|
"installByDefault": false,
|
||||||
"browserVersion": "129.0.6626.0"
|
"browserVersion": "129.0.6630.0"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "firefox",
|
"name": "firefox",
|
||||||
|
@ -147,7 +147,7 @@ it('should not crash on showDirectoryPicker', async ({ page, server, browserName
|
|||||||
const dir = await (window as any).showDirectoryPicker();
|
const dir = await (window as any).showDirectoryPicker();
|
||||||
return dir.name;
|
return dir.name;
|
||||||
// In headless it throws (aborted), in headed it stalls (Test ended) and waits for the picker to be accepted.
|
// 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
|
// The dialog will not be accepted, so we just wait for some time to
|
||||||
// to give the browser a chance to crash.
|
// to give the browser a chance to crash.
|
||||||
await page.waitForTimeout(3_000);
|
await page.waitForTimeout(3_000);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user