test: upstream test and expectation for Firefox sync to puppeteer v20.9.0 (#10622)

This commit is contained in:
Julian Descottes 2023-07-25 08:30:03 +02:00 committed by GitHub
parent 4568f1bba5
commit 186b994fba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 13 deletions

View File

@ -215,6 +215,12 @@
"parameters": ["webDriverBiDi"],
"expectations": ["PASS"]
},
{
"testIdPattern": "[page.spec] Page Page.pdf should respect timeout",
"platforms": ["darwin", "linux", "win32"],
"parameters": ["firefox"],
"expectations": ["SKIP"]
},
{
"testIdPattern": "[page.spec] Page Page.setContent *",
"platforms": ["darwin", "linux", "win32"],
@ -680,25 +686,25 @@
{
"testIdPattern": "[headful.spec] headful tests HEADFUL headless should be able to read cookies written by headful",
"platforms": ["darwin", "linux", "win32"],
"parameters": ["webDriverBiDi"],
"parameters": ["webDriverBiDi", "headful"],
"expectations": ["PASS"]
},
{
"testIdPattern": "[headful.spec] headful tests HEADFUL should close browser with beforeunload page",
"platforms": ["darwin", "linux", "win32"],
"parameters": ["webDriverBiDi"],
"parameters": ["webDriverBiDi", "headful"],
"expectations": ["PASS"]
},
{
"testIdPattern": "[headful.spec] headful tests HEADFUL should have default url when launching browser",
"platforms": ["darwin", "linux", "win32"],
"parameters": ["webDriverBiDi"],
"parameters": ["webDriverBiDi", "headful"],
"expectations": ["PASS"]
},
{
"testIdPattern": "[headful.spec] headful tests HEADFUL target.page() should return a DevTools page if custom isPageTarget is provided",
"platforms": ["darwin", "linux", "win32"],
"parameters": ["webDriverBiDi"],
"parameters": ["chrome", "webDriverBiDi"],
"expectations": ["PASS"]
},
{
@ -836,13 +842,13 @@
{
"testIdPattern": "[launcher.spec] Launcher specs Puppeteer Puppeteer.executablePath returns executablePath for channel",
"platforms": ["darwin", "linux", "win32"],
"parameters": ["webDriverBiDi"],
"parameters": ["chrome", "webDriverBiDi"],
"expectations": ["PASS"]
},
{
"testIdPattern": "[launcher.spec] Launcher specs Puppeteer Puppeteer.executablePath should work",
"platforms": ["darwin", "linux", "win32"],
"parameters": ["webDriverBiDi"],
"parameters": ["chrome", "webDriverBiDi"],
"expectations": ["PASS"]
},
{
@ -860,7 +866,7 @@
{
"testIdPattern": "[launcher.spec] Launcher specs Puppeteer Puppeteer.launch should be able to launch Chrome",
"platforms": ["darwin", "linux", "win32"],
"parameters": ["webDriverBiDi"],
"parameters": ["chrome", "webDriverBiDi"],
"expectations": ["FAIL"]
},
{
@ -2162,7 +2168,7 @@
{
"testIdPattern": "[headful.spec] headful tests HEADFUL target.page() should return a DevTools page if custom isPageTarget is provided",
"platforms": ["darwin", "linux", "win32"],
"parameters": ["firefox", "webDriverBiDi"],
"parameters": ["firefox", "webDriverBiDi", "headful"],
"expectations": ["FAIL"]
},
{
@ -2378,19 +2384,19 @@
{
"testIdPattern": "[launcher.spec] Launcher specs Puppeteer Puppeteer.executablePath returns executablePath for channel",
"platforms": ["darwin", "linux", "win32"],
"parameters": ["cdp", "firefox"],
"parameters": ["firefox"],
"expectations": ["SKIP"]
},
{
"testIdPattern": "[launcher.spec] Launcher specs Puppeteer Puppeteer.executablePath should work",
"platforms": ["darwin", "linux", "win32"],
"parameters": ["cdp", "firefox"],
"parameters": ["firefox"],
"expectations": ["SKIP"]
},
{
"testIdPattern": "[launcher.spec] Launcher specs Puppeteer Puppeteer.launch should be able to launch Chrome",
"platforms": ["darwin", "linux", "win32"],
"parameters": ["cdp", "firefox"],
"parameters": ["firefox"],
"expectations": ["SKIP"]
},
{

View File

@ -830,8 +830,8 @@ describe('Page', function () {
it('should fire when expected', async () => {
const {page} = await getTestState();
page.goto('about:blank');
await waitEvent(page, 'domcontentloaded');
const navigate = page.goto('about:blank');
await Promise.all([waitEvent(page, 'domcontentloaded'), navigate]);
});
});