Wikipedia Zero/Test cases

Feature: Wikipedia Zero both m. and zero. are Zero-rated
Background: Given a carrier has zero-rated both m.wikimedia and zero.wikipedia And I have configured my launch page And I have added languages to the whitelist When I access m.wikipedia Then I receive the banner “Free Wikipedia from Wikimedia” When I access zero.wikipedia Then I receive the banner “Free Wikipedia from Wikimedia” When I select Wikipedia Zero image links Then I do not receive a fee warning

When I select an external link Then I receive a fee warning When I type 3 characters in the search box Then I remain on the Zero plan And I receive the expected article results When I type 3 characters in the search box And immediately hit enter Then I remain on the Zero plan And I receive the first article results for the selected article When I change to a whitelisted language Then I receive the article in that language And I remain on the “fee free” website When I change to a non-whitelisted language Then I receive notification that if I continue standard data charges should apply And the banner changes to red And I am presented with the standard charges notification When I decline the standard charges Then I am returned to the “free” access website And I am presented with the standard charges notification When I accept the standard charges Then I am sent to the “for fee” website

Feature: Wikipedia Zero m. is Zero-rated Only
Background: Given a carrier has a zero-rated m.wikimedia.org only partner configuration And I have configured my launch page And I have added languages to the whitelist

When I select on an article Then I go the correct article on m.wikipedia.org

Feature: Wikipedia Zero zero. is Zero-rated Only
Background: Given a carrier has a zero-rated zero.wikimedia.org only partner configuration And I have configured my launch page And I have added languages to the whitelist

When I access the site Then images are replaced with a link with the text 'click here to see image of "..." And when I select a link Then I receive the fee warning banner

Supplemental Mobile Testing
The following was sent over by Jon Robson and Arthur Richards on 15-April-2013 regarding testing of Mobile Web in general. It may be useful for heuristics in Zero as well.

Jon said:

Visit the Barack Obama article: http://en.wikipedia.org/wiki/Barack_Obama

1) Scroll to the heading "Cultural and political image". Is it collapsed? YES/NO

2) Read this section. Can you read it? YES/NO

3) Click a link. Can you navigate to the page? YES/NO

4) Click on the button in the top left corner - can you access the menu? YES/NO

Visit the test wiki article: ?

1) Scroll to the heading "?" Is it collapsed? YES/NO

2) Read this section. Can you read it? YES/NO

3) Click a link. Can you navigate to the page? YES/NO

4) Click on the button in the top left corner. Can you access the menu? YES/NO

Test devices:

We would appreciate testing on the following devices:
 * Opera Mini less than version 7
 * Opera Mobile (the older the better)
 * Nokia Symbian based phones e.g. N95
 * Any device that isn't touch enabled (keyboards for the win!
 * Palm devices
 * Blackberry v6 and less

Arthur said:

I came up with a few possible pages on mw.o to point folks to for testing:

https://m.mediawiki.org/wiki/Wikimedia_Platform_Engineering

https://m.mediawiki.org/wiki/Git/Workflow

https://m.mediawiki.org/wiki/Echo_(Notifications)/Feature_requirements

I had trouble finding anything as complex as, say, the Barack Obama article on enwiki, but all of these have some templates/other complex elements and are reasonably large.