Closed Bug 1129159 Opened 10 years ago Closed 10 years ago

Convert Mozmill testEscapeAutocomplete to Firefox UI Test

Categories

(Testing :: Firefox UI Tests, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED FIXED
mozilla38

People

(Reporter: galgeek, Assigned: galgeek, Mentored)

References

Details

Attachments

(1 file)

51 bytes, text/x-github-pull-request
whimboo
: review-
whimboo
: review-
whimboo
: review+
whimboo
: review-
whimboo
: review+
whimboo
: feedback+
Details | Review
This is a replacement for http://hg.mozilla.org/qa/mozmill-tests/file/default/firefox/tests/functional/testAwesomeBar/testEscapeAutocomplete.js The Mozmill test does this: 1. Clear complete history so there's no interference from previous entries. 2. Open some local pages to set up the test environment. 3. Focus the locationbar and delete any locationbar content. 4. Type a test string in the locationbar. 5. Check that the test string matches locationbar value. 6. Check that the autocomplete list has opened. 7. Press the escape key. 8. Check that the test string matches locationbar value. 9. Check that the autocomplete list has closed. 10. Press the escape key again. 11. Check that the locationbar returns to the current page url.
Assignee: nobody → galgeek
Blocks: 1129092
Hardware: x86 → All
Priority: -- → P1
Attachment #8559397 - Flags: feedback?(hskupin)
Comment on attachment 8559397 [details] [review] github_pull_request.txt It's going the right way. Left some comments on the PR.
Attachment #8559397 - Flags: feedback?(hskupin) → feedback+
I will add the places library as dependency here. Given that I have that one ready and it will land in a bit via bug 1121731, it would be good when you can your test updated to make use of the places methods similar to the mozmill test.
Depends on: 1121731
Comment on attachment 8559397 [details] [review] github_pull_request.txt I've updated the github pr, referencing the places library appropriately, I hope! In the meantime, I haven't tested this test.
Attachment #8559397 - Flags: review?(hskupin)
Comment on attachment 8559397 [details] [review] github_pull_request.txt I've tested, updated again, and tested anew, successfully.
Comment on attachment 8559397 [details] [review] github_pull_request.txt The PR looks pretty good. I added a couple of comments, but as it looks like its close for landing. Please re-request review once the update is done. Thanks Barbara.
Attachment #8559397 - Flags: review?(hskupin) → review-
Comment on attachment 8559397 [details] [review] github_pull_request.txt I've updated the github PR per your feedback there. Thank you!
Attachment #8559397 - Flags: review?(hskupin)
Comment on attachment 8559397 [details] [review] github_pull_request.txt Logic-wise this test looks good. Lets fix the remaining issues as pointed out.
Attachment #8559397 - Flags: review?(hskupin) → review-
Comment on attachment 8559397 [details] [review] github_pull_request.txt Thanks for your feedback! I've updated the github PR.
Attachment #8559397 - Flags: review?(hskupin)
Comment on attachment 8559397 [details] [review] github_pull_request.txt Looks great! Just a minor nit to do. Let me know when you did the update and I will get it merged. Thanks
Attachment #8559397 - Flags: review?(hskupin) → review+
Comment on attachment 8559397 [details] [review] github_pull_request.txt I missed one thing here, which is the missing manifest entry. Right now the test would never be run.
Attachment #8559397 - Flags: review-
Priority: P1 → P2
Comment on attachment 8559397 [details] [review] github_pull_request.txt I've updated the github PR, incorporating a workaround for the Marionette bug leaving us in 'content' context in tearDown, and causing an error when run under xvfb.
Attachment #8559397 - Flags: review?(hskupin)
Attachment #8559397 - Flags: review?(hskupin) → review+
Status: NEW → RESOLVED
Closed: 10 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: