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