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)
Testing
Firefox UI Tests
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla38
People
(Reporter: galgeek, Assigned: galgeek, Mentored)
References
Details
Attachments
(1 file)
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 | ||
Updated•10 years ago
|
Assignee: nobody → galgeek
Updated•10 years ago
|
Hardware: x86 → All
| Assignee | ||
Updated•10 years ago
|
Priority: -- → P1
| Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8559397 -
Flags: feedback?(hskupin)
Comment 2•10 years ago
|
||
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+
Comment 3•10 years ago
|
||
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
| Assignee | ||
Comment 4•10 years ago
|
||
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)
| Assignee | ||
Comment 5•10 years ago
|
||
Comment on attachment 8559397 [details] [review]
github_pull_request.txt
I've tested, updated again, and tested anew, successfully.
Comment 6•10 years ago
|
||
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-
| Assignee | ||
Comment 7•10 years ago
|
||
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 8•10 years ago
|
||
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-
| Assignee | ||
Comment 9•10 years ago
|
||
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 10•10 years ago
|
||
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 11•10 years ago
|
||
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-
Updated•10 years ago
|
Priority: P1 → P2
| Assignee | ||
Comment 12•10 years ago
|
||
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)
Updated•10 years ago
|
Attachment #8559397 -
Flags: review?(hskupin) → review+
Comment 13•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → Firefox 38
Updated•9 years ago
|
Product: Mozilla QA → Testing
You need to log in
before you can comment on or make changes to this bug.
Description
•