2017-06-09 19:12:53 +00:00
|
|
|
@chrome @en.m.wikipedia.beta.wmflabs.org @firefox @integration @smoke @test2.m.wikipedia.org @login @vagrant
|
|
|
|
Feature: Manage Watchlist
|
|
|
|
|
|
|
|
Background:
|
|
|
|
Given I am logged into the mobile website
|
|
|
|
|
|
|
|
Scenario: Add an article to the watchlist
|
|
|
|
Given I am viewing an unwatched page
|
|
|
|
When I click the watch star
|
2017-08-01 22:06:37 +00:00
|
|
|
Then I should see a toast with message "Added Selenium mobile watch test to your watchlist"
|
2017-06-09 19:12:53 +00:00
|
|
|
And the watch star should be selected
|
|
|
|
|
|
|
|
Scenario: Remove an article from the watchlist
|
|
|
|
Given I am viewing a watched page
|
|
|
|
When I click the unwatch star
|
2017-07-27 20:36:04 +00:00
|
|
|
Then I should see a toast with message "Removed Selenium mobile watch test from your watchlist"
|
2017-06-09 19:12:53 +00:00
|
|
|
And the watch star should not be selected
|