Closed Bug 968841 Opened 10 years ago Closed 9 years ago

Create mozmill test for safe browsing

Categories

(Mozilla QA Graveyard :: Mozmill Tests, defect)

All
Windows 8.1
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: AndreeaMatei, Unassigned)

References

Details

(Whiteboard: [metro])

Testcase:
1. The Metro Firefox user visits http://www.mozilla.org/firefox/its-a-trap.html and sees a big warning page.
2. The user taps the "Get me out of here" link and the warning page is replaced with the Awesome screen (about:start page)
4. Gets back to the warning page
5. The user taps the "Why was the page blocked" link and is taken to http://www.mozilla.org/en-US/firefox/phishing-protection/firefox2/

https://bug801093.bugzilla.mozilla.org/attachment.cgi?id=704738
Why has this to be a Mozmill test? Can you please explain your decision? Thanks.
Flags: needinfo?(andreea.matei)
Sam, what about this testcase? Do you think it will be covered? Thanks.
Flags: needinfo?(andreea.matei) → needinfo?(sfoster)
We could do this as a mochitest by loading the its-a-trap page into a tab, confirm the "Get me out of here"  and "Why was this blocked" links are present. I'm not sure it adds much value to start following each link or action on the page from within a mochitest though. We just want to verify the blocked-page handling works and shows the right content to the user in metrofx.
Flags: needinfo?(sfoster)
This cannot become a mochitest given that it's not allowed to use external URLs in your tests. So given that and regarding the l10n specific checks it might be very helpful to have it as a Mozmill test similar to desktop. 

It's not clear yet when the safe browsing database will be updated for the new itisatrap pages, so I will add the appropriate bug as see also.
See Also: → 971240
Metro is dead. So nothing more to do here.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → INVALID
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in before you can comment on or make changes to this bug.