test: update expectations for user context tests with Firefox (#11874)

This commit is contained in:
Julian Descottes 2024-02-08 11:26:10 +01:00 committed by GitHub
parent f10323bb09
commit 4b52841979
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1477,7 +1477,7 @@
"platforms": ["darwin", "linux", "win32"],
"parameters": ["firefox", "webDriverBiDi"],
"expectations": ["FAIL"],
"comment": "Re-test after user contexts land"
"comment": "Fails because test assumes there is 1 user context initially, Firefox has 5"
},
{
"testIdPattern": "[browsercontext.spec] BrowserContext should fire target events",
@ -1497,7 +1497,7 @@
"platforms": ["darwin", "linux", "win32"],
"parameters": ["firefox", "webDriverBiDi"],
"expectations": ["FAIL"],
"comment": "Re-test after user contexts land"
"comment": "Fails because test assumes there is 1 user context initially, Firefox has 5"
},
{
"testIdPattern": "[browsercontext.spec] BrowserContext should timeout waiting for a non-existent target",
@ -1533,8 +1533,7 @@
"testIdPattern": "[browsercontext.spec] BrowserContext window.open should use parent tab context",
"platforms": ["darwin", "linux", "win32"],
"parameters": ["firefox", "webDriverBiDi"],
"expectations": ["FAIL"],
"comment": "Re-test after user contexts land"
"expectations": ["PASS"]
},
{
"testIdPattern": "[CDPSession.spec] Target.createCDPSession should be able to detach session",
@ -3749,19 +3748,11 @@
"parameters": ["cdp", "firefox"],
"expectations": ["SKIP"]
},
{
"testIdPattern": "[page.spec] Page Page.Events.Close should work with window.close",
"platforms": ["linux"],
"parameters": ["firefox", "webDriverBiDi"],
"expectations": ["SKIP"],
"comment": "Re-test after user contexts land"
},
{
"testIdPattern": "[page.spec] Page Page.Events.Close should work with window.close",
"platforms": ["darwin", "linux", "win32"],
"parameters": ["firefox", "webDriverBiDi"],
"expectations": ["SKIP"],
"comment": "Re-test after user contexts land"
"expectations": ["PASS"]
},
{
"testIdPattern": "[page.spec] Page Page.Events.Console should have location and stack trace for console API calls",
@ -3793,19 +3784,11 @@
"parameters": ["cdp", "firefox"],
"expectations": ["FAIL"]
},
{
"testIdPattern": "[page.spec] Page Page.Events.Console should not throw when there are console messages in detached iframes",
"platforms": ["linux"],
"parameters": ["firefox", "webDriverBiDi"],
"expectations": ["FAIL"],
"comment": "Re-test after user contexts land"
},
{
"testIdPattern": "[page.spec] Page Page.Events.Console should not throw when there are console messages in detached iframes",
"platforms": ["darwin", "linux", "win32"],
"parameters": ["firefox", "webDriverBiDi"],
"expectations": ["FAIL", "PASS"],
"comment": "Re-test after user contexts land"
"expectations": ["PASS"]
},
{
"testIdPattern": "[page.spec] Page Page.Events.Console should trigger correct Log",
@ -4279,8 +4262,7 @@
"testIdPattern": "[target.spec] Target should be able to use async waitForTarget",
"platforms": ["darwin", "linux", "win32"],
"parameters": ["firefox", "webDriverBiDi"],
"expectations": ["SKIP"],
"comment": "Re-test after user contexts land"
"expectations": ["PASS"]
},
{
"testIdPattern": "[target.spec] Target should contain browser target",
@ -4352,8 +4334,7 @@
"testIdPattern": "[target.spec] Target should not crash while redirecting if original request was missed",
"platforms": ["darwin", "linux", "win32"],
"parameters": ["firefox", "webDriverBiDi"],
"expectations": ["SKIP"],
"comment": "Re-test after user contexts land"
"expectations": ["PASS"]
},
{
"testIdPattern": "[target.spec] Target should not crash while redirecting if original request was missed",
@ -4383,8 +4364,7 @@
"testIdPattern": "[target.spec] Target should report when a new page is created and closed",
"platforms": ["darwin", "linux", "win32"],
"parameters": ["firefox", "webDriverBiDi"],
"expectations": ["SKIP"],
"comment": "Re-test after user contexts land"
"expectations": ["PASS"]
},
{
"testIdPattern": "[target.spec] Target should report when a new page is created and closed",