mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
test: fix the window.stop test (#12526)
This commit is contained in:
parent
0fd7530cbc
commit
26d800cae8
@ -2379,19 +2379,12 @@
|
|||||||
"expectations": ["SKIP"],
|
"expectations": ["SKIP"],
|
||||||
"comment": "TODO: add a comment explaining why this expectation is required (include links to issues)"
|
"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()",
|
"testIdPattern": "[navigation.spec] navigation Page.waitForNavigation should work when subframe issues window.stop()",
|
||||||
"platforms": ["darwin", "linux", "win32"],
|
"platforms": ["darwin", "linux", "win32"],
|
||||||
"parameters": ["chrome", "webDriverBiDi"],
|
"parameters": ["chrome", "webDriverBiDi"],
|
||||||
"expectations": ["SKIP"],
|
"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()",
|
"testIdPattern": "[navigation.spec] navigation Page.waitForNavigation should work with DOM history.back()/history.forward()",
|
||||||
|
@ -719,9 +719,6 @@ describe('navigation', function () {
|
|||||||
waitEvent(page, 'frameattached').then(_frame => {
|
waitEvent(page, 'frameattached').then(_frame => {
|
||||||
return (frame = _frame);
|
return (frame = _frame);
|
||||||
}),
|
}),
|
||||||
waitEvent(page, 'framenavigated', f => {
|
|
||||||
return f === frame;
|
|
||||||
}),
|
|
||||||
]),
|
]),
|
||||||
Deferred.create({
|
Deferred.create({
|
||||||
message: `should work when subframe issues window.stop()`,
|
message: `should work when subframe issues window.stop()`,
|
||||||
|
Loading…
Reference in New Issue
Block a user