Closed Bug 1132709 Opened 9 years ago Closed 9 years ago

Convert Mozmill test 'remote/testSecurity/testUnknownIssuer.js' to Marionette

Categories

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

defect

Tracking

(Not tracked)

RESOLVED FIXED
mozilla39

People

(Reporter: galgeek, Assigned: galgeek)

References

Details

Attachments

(1 file)

51 bytes, text/x-github-pull-request
whimboo
: review-
whimboo
: review+
whimboo
: feedback+
Details | Review
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/testUnknownIssuer.js
Blocks: 1132629
Priority: -- → P1
Some things to note here:

* When loading the given URL we expect a MarionetteException given that it is an about:error page

* Any element of this page can be retrieved via the content scope

* Before you are able to interact with the elements you will have to wait about 1s. That's something magic with about:error pages, which we never figured out exactly in Mozmill:

https://github.com/mozilla/mozmill/blob/master/mozmill/mozmill/extension/resource/modules/windows.js#L194
Assignee: nobody → galgeek
Attachment #8566897 - Flags: review?(hskupin)
Comment on attachment 8566897 [details] [review]
github_pull_request.txt

Functionality wise this looks fine. I made some comments which need to be fixed.
Attachment #8566897 - Flags: review?(hskupin) → feedback+
Comment on attachment 8566897 [details] [review]
github_pull_request.txt

Thank you for your feedback, Henrik!

I've updated the PR per your comments.
Attachment #8566897 - Flags: review?(hskupin)
Comment on attachment 8566897 [details] [review]
github_pull_request.txt

r- mostly because of the context handling, which worries me a bit. We should ensure to stay in chrome context when entering teardown.
Attachment #8566897 - Flags: review?(hskupin) → review-
Comment on attachment 8566897 [details] [review]
github_pull_request.txt

Thanks for your feedback!

I've updated the PR.
Attachment #8566897 - Flags: review?(hskupin)
Comment on attachment 8566897 [details] [review]
github_pull_request.txt

Looks good! It only needs a rebase. Once that is done we can get it landed.
Attachment #8566897 - Flags: review?(hskupin) → review+
Blocks: 1136237
https://github.com/mozilla/firefox-ui-tests/commit/ab89a5f793afd15f1f7893bcd9cb4d68a5613c3a
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 39
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: