Closed
Bug 1132651
Opened 9 years ago
Closed 9 years ago
Convert Mozmill test 'remote/testSecurity/testGreenLarry.js to Marionette
Categories
(Testing :: Firefox UI Tests, defect, P1)
Testing
Firefox UI Tests
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla39
People
(Reporter: galgeek, Assigned: galgeek)
References
Details
Attachments
(1 file)
This bug will cover the necessary work to convert the following test into Marionette. http://hg.mozilla.org/qa/mozmill-tests/file/default/firefox/tests/remote/testSecurity/testGreenLarry.js
Assignee | ||
Updated•9 years ago
|
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → galgeek
QA Contact: hskupin
Assignee | ||
Comment 1•9 years ago
|
||
Many of the variables aren't really necessary, but without them, there are a lot of long lines. I wonder if something more needs to be added to ensure the identity popup closes.
Attachment #8574527 -
Flags: feedback?(hskupin)
Comment 2•9 years ago
|
||
Comment on attachment 8574527 [details] [review] github_pull_request.txt For comments please see the PR.
Attachment #8574527 -
Flags: feedback?(hskupin) → feedback+
Assignee | ||
Comment 3•9 years ago
|
||
Comment on attachment 8574527 [details] [review] github_pull_request.txt Thank you for your comments, Henrik! I've updated the PR. Travis passes both OS X and Linux. I've added a method to security.py to provide the domain name from a security cert's "common name" field. I wonder whether getBaseDomain would be helpful here, since the common name field is a host name, and possibly a wildcard host name, like *.example.com, while getBaseDomain expects a URL. I've left # TODO comments in other places that still need work.
Assignee | ||
Updated•9 years ago
|
Attachment #8574527 -
Flags: feedback?(hskupin)
Comment 4•9 years ago
|
||
Comment on attachment 8574527 [details] [review] github_pull_request.txt Looks good. Some nits and the dependency we need fixed.
Attachment #8574527 -
Flags: feedback?(hskupin) → feedback+
Assignee | ||
Comment 5•9 years ago
|
||
Comment on attachment 8574527 [details] [review] github_pull_request.txt With the new identity_popup.close(), we need to include the except NoSuchElementException in the try block in tearDown. The various popup.close() methods are easier to use in tearDown if they check for the popup's presence themselves. Is there a reason not to check for expected.element_present in these methods?
Attachment #8574527 -
Flags: feedback?(hskupin)
Comment 6•9 years ago
|
||
Comment on attachment 8574527 [details] [review] github_pull_request.txt Looks good. For the next round lets make it a final review. It's close to be landed.
Attachment #8574527 -
Flags: feedback?(hskupin) → feedback+
Assignee | ||
Comment 7•9 years ago
|
||
Comment on attachment 8574527 [details] [review] github_pull_request.txt Thanks for your comments, Henrik! We still need, for now, the except NoSuchElementException when the test is skipped. The Travis builds are both green, and this test itself succeeds on AppVeyor, though others fail there... On the other hand, using --e10s we fail with this: File "/Users/bara/Dev/ffuit/firefox_ui_tests/remote/security/test_green_larry.py", line 101, in test_green_larry self.assertEqual(page_info.deck.selected_panel, page_info.deck.security) AssertionError: <firefox_puppeteer.ui.pageinfo.deck.GeneralPanel object at 0x103d5e490> != <firefox_puppeteer.ui.pageinfo.deck.SecurityPanel object at 0x103d5e710> So I'm just requesting feedback for now...
Attachment #8574527 -
Flags: feedback?(hskupin)
Comment 8•9 years ago
|
||
Comment on attachment 8574527 [details] [review] github_pull_request.txt As mentioned on the PR the e10s failure is mostly because of a bug in Firefox. Try to reproduce it manually, and if not filed can you do that please? Lets add a workaround for that right now, so that we manually focus the security panel.
Attachment #8574527 -
Flags: feedback?(hskupin) → feedback+
Assignee | ||
Comment 9•9 years ago
|
||
I was able to reproduce the e10s failure manually, and I've filed bug 1144493.
Assignee | ||
Comment 10•9 years ago
|
||
Comment on attachment 8574527 [details] [review] github_pull_request.txt I’ve added a workaround to address the e10s bug. The updated PR passes Travis.
Attachment #8574527 -
Flags: review?(hskupin)
Comment 11•9 years ago
|
||
Comment on attachment 8574527 [details] [review] github_pull_request.txt Two items need to be fixed. See my comments on the PR. Feel free to squash all commits when you have those done.
Attachment #8574527 -
Flags: review?(hskupin) → review-
Assignee | ||
Updated•9 years ago
|
Attachment #8574527 -
Flags: review?(hskupin)
Comment 12•9 years ago
|
||
Comment on attachment 8574527 [details] [review] github_pull_request.txt We are close. One more thing to fix and then we can get it landed. Please already squash your commits once you are done with the update. Thanks.
Attachment #8574527 -
Flags: review?(hskupin) → review-
Comment 13•9 years ago
|
||
Comment on attachment 8574527 [details] [review] github_pull_request.txt Barbara fixed it and pushed an update which looks pretty fine to me now. Thanks!
Attachment #8574527 -
Flags: review+
Comment 14•9 years ago
|
||
PR got merged as: https://github.com/mozilla/firefox-ui-tests/pull/120
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 39
Updated•8 years ago
|
Product: Mozilla QA → Testing
You need to log in
before you can comment on or make changes to this bug.
Description
•