Create mozmill test for safe browsing

RESOLVED INVALID

Status

Mozilla QA
Mozmill Tests
RESOLVED INVALID
5 years ago
3 years ago

People

(Reporter: AndreeaMatei, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [metro])

(Reporter)

Description

5 years ago
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)
(Reporter)

Comment 2

5 years ago
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: → bug 971240
Metro is dead. So nothing more to do here.
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.