Closed
Bug 542244
Opened 14 years ago
Closed 14 years ago
[mozmill] Test script for "Untrusted Connection page 'Get me out of here' button" test case
Categories
(Mozilla QA Graveyard :: Mozmill Tests, defect)
Mozilla QA Graveyard
Mozmill Tests
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: u279076, Assigned: u279076)
Details
Attachments
(1 file)
3.22 KB,
patch
|
whimboo
:
review+
|
Details | Diff | Splinter Review |
This is a tracking bug for creating a Mozmill test script for the following Litmust test case: [security:certificates] "Get me out of here" from error page https://litmus.mozilla.org/show_test.cgi?id=6546 (Firefox 3.5) https://litmus.mozilla.org/show_test.cgi?id=8581 (Firefox 3.6)
I'm running into a slight issue which I need some help resolving... When a user clicks on GET ME OUT OF HERE, it should redirect to the homepage. My original idea was to check browser.startup.homepage pref from browserconfig.properties and compare the URL in the location bar to the URL in the pref. However, I ran into an issue: the URLs are slightly different. http://en-US.start3.mozilla.com/firefox?client=firefox-a&rls=org.mozilla:en-US:official http://www.google.ca/firefox?client=firefox-a&rls=org.mozilla:en-US:official The first URL is the value of the pref. The second URL is what loads when clicking the HOME button. Naturally, this URL will be different depending on geographical location due to Google's DNS magic. The only workaround I can suggest here is to have the script set the homepage to a certain URL prior to running the tests (in setupmodule). However, is this an acceptable approach? Are there any better ideas?
Comment 2•14 years ago
|
||
I would like to point to: https://developer.mozilla.org/en/Mozmill_Tests/Shared_Modules/UtilsAPI#assertLoadedUrlEqual%28%29
(In reply to comment #2) > I would like to point to: > https://developer.mozilla.org/en/Mozmill_Tests/Shared_Modules/UtilsAPI#assertLoadedUrlEqual%28%29 Excellent, thanks! Worked like a charm!
Summary: [mozmill] Test script for "Warning page 'Get me out of here' button" test case → [mozmill] Test script for "Untrusted Connection page 'Get me out of here' button" test case
Attachment #429141 -
Flags: review?(hskupin)
Updated•14 years ago
|
Attachment #429141 -
Flags: review?(hskupin) → review+
Comment 5•14 years ago
|
||
Landed as: http://hg.mozilla.org/qa/mozmill-tests/rev/46bbd1a97b4f http://hg.mozilla.org/qa/mozmill-tests/rev/792b366c2d6c
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Comment 6•14 years ago
|
||
Mass move of Mozmill Test related project bugs to newly created components. You can filter out those emails by using "Mozmill-Tests-to-MozillaQA" as criteria.
Component: Security → Mozmill Tests
Product: Firefox → Mozilla QA
QA Contact: firefox → mozmill-tests
Version: 3.6 Branch → unspecified
Updated•5 years ago
|
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•