test: fix the window.stop test (#12526)

This commit is contained in:
Alex Rudenko 2024-06-03 15:27:18 +02:00 committed by GitHub
parent 0fd7530cbc
commit 26d800cae8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 11 deletions

View File

@ -2379,19 +2379,12 @@
"expectations": ["SKIP"],
"comment": "TODO: add a comment explaining why this expectation is required (include links to issues)"
},
{
"testIdPattern": "[navigation.spec] navigation Page.waitForNavigation should work when subframe issues window.stop()",
"platforms": ["darwin", "linux", "win32"],
"parameters": ["firefox", "webDriverBiDi"],
"expectations": ["SKIP"],
"comment": "TODO: add a comment explaining why this expectation is required (include links to issues)"
},
{
"testIdPattern": "[navigation.spec] navigation Page.waitForNavigation should work when subframe issues window.stop()",
"platforms": ["darwin", "linux", "win32"],
"parameters": ["chrome", "webDriverBiDi"],
"expectations": ["SKIP"],
"comment": "TODO: add a comment explaining why this expectation is required (include links to issues)"
"comment": "TODO: evaluating in the frame that was just attached causes an error in chromium-bidi"
},
{
"testIdPattern": "[navigation.spec] navigation Page.waitForNavigation should work with DOM history.back()/history.forward()",

View File

@ -719,9 +719,6 @@ describe('navigation', function () {
waitEvent(page, 'frameattached').then(_frame => {
return (frame = _frame);
}),
waitEvent(page, 'framenavigated', f => {
return f === frame;
}),
]),
Deferred.create({
message: `should work when subframe issues window.stop()`,