test: format test expectations (#10628)

This commit is contained in:
Alex Rudenko 2023-07-25 10:02:28 +02:00 committed by GitHub
parent 7d97b5804f
commit e8e7bf1d3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -215,12 +215,6 @@
"parameters": ["webDriverBiDi"], "parameters": ["webDriverBiDi"],
"expectations": ["PASS"] "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 *", "testIdPattern": "[page.spec] Page Page.setContent *",
"platforms": ["darwin", "linux", "win32"], "platforms": ["darwin", "linux", "win32"],
@ -683,30 +677,6 @@
"parameters": ["cdp", "firefox"], "parameters": ["cdp", "firefox"],
"expectations": ["SKIP"] "expectations": ["SKIP"]
}, },
{
"testIdPattern": "[headful.spec] headful tests HEADFUL headless should be able to read cookies written by headful",
"platforms": ["darwin", "linux", "win32"],
"parameters": ["webDriverBiDi", "headful"],
"expectations": ["PASS"]
},
{
"testIdPattern": "[headful.spec] headful tests HEADFUL should close browser with beforeunload page",
"platforms": ["darwin", "linux", "win32"],
"parameters": ["webDriverBiDi", "headful"],
"expectations": ["PASS"]
},
{
"testIdPattern": "[headful.spec] headful tests HEADFUL should have default url when launching browser",
"platforms": ["darwin", "linux", "win32"],
"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": ["chrome", "webDriverBiDi"],
"expectations": ["PASS"]
},
{ {
"testIdPattern": "[idle_override.spec] *", "testIdPattern": "[idle_override.spec] *",
"platforms": ["darwin", "linux", "win32"], "platforms": ["darwin", "linux", "win32"],
@ -842,14 +812,14 @@
{ {
"testIdPattern": "[launcher.spec] Launcher specs Puppeteer Puppeteer.executablePath returns executablePath for channel", "testIdPattern": "[launcher.spec] Launcher specs Puppeteer Puppeteer.executablePath returns executablePath for channel",
"platforms": ["darwin", "linux", "win32"], "platforms": ["darwin", "linux", "win32"],
"parameters": ["chrome", "webDriverBiDi"], "parameters": ["firefox"],
"expectations": ["PASS"] "expectations": ["SKIP"]
}, },
{ {
"testIdPattern": "[launcher.spec] Launcher specs Puppeteer Puppeteer.executablePath should work", "testIdPattern": "[launcher.spec] Launcher specs Puppeteer Puppeteer.executablePath should work",
"platforms": ["darwin", "linux", "win32"], "platforms": ["darwin", "linux", "win32"],
"parameters": ["chrome", "webDriverBiDi"], "parameters": ["firefox"],
"expectations": ["PASS"] "expectations": ["SKIP"]
}, },
{ {
"testIdPattern": "[launcher.spec] Launcher specs Puppeteer Puppeteer.executablePath when executable path is configured its value is used", "testIdPattern": "[launcher.spec] Launcher specs Puppeteer Puppeteer.executablePath when executable path is configured its value is used",
@ -866,8 +836,8 @@
{ {
"testIdPattern": "[launcher.spec] Launcher specs Puppeteer Puppeteer.launch should be able to launch Chrome", "testIdPattern": "[launcher.spec] Launcher specs Puppeteer Puppeteer.launch should be able to launch Chrome",
"platforms": ["darwin", "linux", "win32"], "platforms": ["darwin", "linux", "win32"],
"parameters": ["chrome", "webDriverBiDi"], "parameters": ["firefox"],
"expectations": ["FAIL"] "expectations": ["SKIP"]
}, },
{ {
"testIdPattern": "[launcher.spec] Launcher specs Puppeteer Puppeteer.launch should be able to launch Firefox", "testIdPattern": "[launcher.spec] Launcher specs Puppeteer Puppeteer.launch should be able to launch Firefox",
@ -1235,6 +1205,12 @@
"parameters": ["webDriverBiDi"], "parameters": ["webDriverBiDi"],
"expectations": ["PASS"] "expectations": ["PASS"]
}, },
{
"testIdPattern": "[page.spec] Page Page.pdf should respect timeout",
"platforms": ["darwin", "linux", "win32"],
"parameters": ["firefox"],
"expectations": ["SKIP"]
},
{ {
"testIdPattern": "[page.spec] Page Page.select should deselect all options when passed no values for a multiple select", "testIdPattern": "[page.spec] Page Page.select should deselect all options when passed no values for a multiple select",
"platforms": ["darwin", "linux", "win32"], "platforms": ["darwin", "linux", "win32"],
@ -2159,6 +2135,24 @@
"parameters": ["cdp", "firefox"], "parameters": ["cdp", "firefox"],
"expectations": ["SKIP"] "expectations": ["SKIP"]
}, },
{
"testIdPattern": "[headful.spec] headful tests HEADFUL headless should be able to read cookies written by headful",
"platforms": ["darwin", "linux", "win32"],
"parameters": ["headful", "webDriverBiDi"],
"expectations": ["PASS"]
},
{
"testIdPattern": "[headful.spec] headful tests HEADFUL should close browser with beforeunload page",
"platforms": ["darwin", "linux", "win32"],
"parameters": ["headful", "webDriverBiDi"],
"expectations": ["PASS"]
},
{
"testIdPattern": "[headful.spec] headful tests HEADFUL should have default url when launching browser",
"platforms": ["darwin", "linux", "win32"],
"parameters": ["headful", "webDriverBiDi"],
"expectations": ["PASS"]
},
{ {
"testIdPattern": "[headful.spec] headful tests HEADFUL target.page() should return a background_page", "testIdPattern": "[headful.spec] headful tests HEADFUL target.page() should return a background_page",
"platforms": ["darwin", "win32"], "platforms": ["darwin", "win32"],
@ -2168,8 +2162,8 @@
{ {
"testIdPattern": "[headful.spec] headful tests HEADFUL target.page() should return a DevTools page if custom isPageTarget is provided", "testIdPattern": "[headful.spec] headful tests HEADFUL target.page() should return a DevTools page if custom isPageTarget is provided",
"platforms": ["darwin", "linux", "win32"], "platforms": ["darwin", "linux", "win32"],
"parameters": ["firefox", "webDriverBiDi", "headful"], "parameters": ["chrome", "webDriverBiDi"],
"expectations": ["FAIL"] "expectations": ["PASS"]
}, },
{ {
"testIdPattern": "[ignorehttpserrors.spec] ignoreHTTPSErrors Response.securityDetails Network redirects should report SecurityDetails", "testIdPattern": "[ignorehttpserrors.spec] ignoreHTTPSErrors Response.securityDetails Network redirects should report SecurityDetails",
@ -2384,20 +2378,20 @@
{ {
"testIdPattern": "[launcher.spec] Launcher specs Puppeteer Puppeteer.executablePath returns executablePath for channel", "testIdPattern": "[launcher.spec] Launcher specs Puppeteer Puppeteer.executablePath returns executablePath for channel",
"platforms": ["darwin", "linux", "win32"], "platforms": ["darwin", "linux", "win32"],
"parameters": ["firefox"], "parameters": ["chrome", "webDriverBiDi"],
"expectations": ["SKIP"] "expectations": ["PASS"]
}, },
{ {
"testIdPattern": "[launcher.spec] Launcher specs Puppeteer Puppeteer.executablePath should work", "testIdPattern": "[launcher.spec] Launcher specs Puppeteer Puppeteer.executablePath should work",
"platforms": ["darwin", "linux", "win32"], "platforms": ["darwin", "linux", "win32"],
"parameters": ["firefox"], "parameters": ["chrome", "webDriverBiDi"],
"expectations": ["SKIP"] "expectations": ["PASS"]
}, },
{ {
"testIdPattern": "[launcher.spec] Launcher specs Puppeteer Puppeteer.launch should be able to launch Chrome", "testIdPattern": "[launcher.spec] Launcher specs Puppeteer Puppeteer.launch should be able to launch Chrome",
"platforms": ["darwin", "linux", "win32"], "platforms": ["darwin", "linux", "win32"],
"parameters": ["firefox"], "parameters": ["chrome", "webDriverBiDi"],
"expectations": ["SKIP"] "expectations": ["FAIL"]
}, },
{ {
"testIdPattern": "[launcher.spec] Launcher specs Puppeteer Puppeteer.launch should be able to launch Firefox", "testIdPattern": "[launcher.spec] Launcher specs Puppeteer Puppeteer.launch should be able to launch Firefox",
@ -3749,6 +3743,12 @@
"parameters": ["cdp", "chrome", "headless"], "parameters": ["cdp", "chrome", "headless"],
"expectations": ["FAIL", "PASS"] "expectations": ["FAIL", "PASS"]
}, },
{
"testIdPattern": "[headful.spec] headful tests HEADFUL target.page() should return a DevTools page if custom isPageTarget is provided",
"platforms": ["darwin", "linux", "win32"],
"parameters": ["firefox", "headful", "webDriverBiDi"],
"expectations": ["FAIL"]
},
{ {
"testIdPattern": "[navigation.spec] navigation \"after all\" hook in \"navigation\"", "testIdPattern": "[navigation.spec] navigation \"after all\" hook in \"navigation\"",
"platforms": ["darwin", "linux", "win32"], "platforms": ["darwin", "linux", "win32"],