Closed
Bug 1140470
Opened 9 years ago
Closed 5 years ago
Add equivalent of mozmill's waitForPageLoad to Firefox UI Tests libraries
Categories
(Testing :: Firefox UI Tests, defect)
Testing
Firefox UI Tests
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: galgeek, Unassigned)
Details
Mozmill tests frequently use controller.waitForPageLoad to ensure that a page loads completely before further testing. Marionette.navigate() includes an equivalent check, but other ways that we load a new page using Marionette, including after element.click(), do not. It would be helpful to include a standard method for making the equivalent of mozmill's waitForPageLoad check in the Firefox UI Test libraries.
Comment 1•9 years ago
|
||
To accurately being able to catch a page load we would have to wait for events, or if possible we could check if the former DOM element gets stale. That means we have to save the state before, trigger the action, and wait for the expected stale status or event (unload and load). I would suggest we try with stale elements first. If that doesn't work we would need event listeners.
Assignee | ||
Updated•8 years ago
|
Product: Mozilla QA → Testing
Comment 2•5 years ago
|
||
There was no need for that in all the last years, and Firefox ui tests will go away soon via bug 1573410.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•