Closed Bug 1123871 Opened 9 years ago Closed 9 years ago

Port locationBar specific library features from mozmill-tests

Categories

(Testing :: Firefox UI Tests, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla38

People

(Reporter: chmanchester, Assigned: chmanchester)

References

Details

Attachments

(1 file)

This will allow conversion of the awesomeBar tests, and will at least involve conversion of the NavBar and LocationBar classes from:

http://hg.mozilla.org/qa/mozmill-tests/file/default/firefox/lib/toolbars.js
Assignee: nobody → cmanchester
I have a good portion of this working on a local branch: https://github.com/chmanchester/firefox-ui-tests/tree/locationbar

I'm going to clean this up a bit and then we may want to land as much as I have so far.
Note: The portions of toolbars.js not covered by this pull request will be the "edit bookmarks" panel, the downloads panel, and the menu panel.
I need to make sure this plays well with readthedocs, but that doesn't need to block code review.
Attachment #8554841 - Flags: review?(hskupin)
:whimboo offered to help me figure out what's causing this PR to fail in travis (it works consistently for me locally). I'm really not sure what's going wrong here.
Flags: needinfo?(hskupin)
:whimboo helped me with this just now. I guess these sorts of tests were failing when Mozmill was run in travis, as well, and I can reproduce the exact failure running under xvfb locally, so my conclusion for the moment is that the autocomplete popup fails to open without a real display. This may well be a Firefox front-end bug, but given that the tests run well locally, and this was a problem with Mozmill as well, we agreed to skip these in Travis for now.
Flags: needinfo?(hskupin)
Comment on attachment 8554841 [details] [review]
Implement navbar, locationbar, and autocompleteresults in firefox puppetteer

I'm going to clean up the branch and get failing tests skipped before re-requesting review.
Attachment #8554841 - Flags: review?(hskupin)
Comment on attachment 8554841 [details] [review]
Implement navbar, locationbar, and autocompleteresults in firefox puppetteer

Ok, the skipping facility works fine. I reverted all my troubleshooting commits.
Attachment #8554841 - Flags: review?(hskupin)
Comment on attachment 8554841 [details] [review]
Implement navbar, locationbar, and autocompleteresults in firefox puppetteer

This implementation looks great! Thanks Chris! I added a bunch of comments, so please go through them. Lets know on the PR if there are problems or questions.

I will move this to feedback, given that for review I wanna see those items fixed.
Attachment #8554841 - Flags: review?(hskupin) → feedback+
(In reply to Henrik Skupin (:whimboo) from comment #8)
> Comment on attachment 8554841 [details] [review]
> Implement navbar, locationbar, and autocompleteresults in firefox puppetteer
> 
> This implementation looks great! Thanks Chris! I added a bunch of comments,
> so please go through them. Lets know on the PR if there are problems or
> questions.
> 
> I will move this to feedback, given that for review I wanna see those items
> fixed.

Thanks for the thorough review. I've added a few comments/questions to the PR, I'll push a fixup and re-request shortly.
Comment on attachment 8554841 [details] [review]
Implement navbar, locationbar, and autocompleteresults in firefox puppetteer

Ok, this has review comments addressed except in cases I have questions/comments pending.
Attachment #8554841 - Flags: review?(hskupin)
OS: Mac OS X → All
Hardware: x86 → All
Version: Version 3 → unspecified
Comment on attachment 8554841 [details] [review]
Implement navbar, locationbar, and autocompleteresults in firefox puppetteer

There is one TODO comment to be added. Otherwise the PR looks fine to me. Thank you Chris!
Attachment #8554841 - Flags: review?(hskupin) → review+
Please don't forget to close bugs! :)

This PR landed as:
https://github.com/mozilla/firefox-ui-tests/commit/379d34bd7087b61c6d767e22687a078aef250cab
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → Firefox 38
Product: Mozilla QA → Testing
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: