| 1 |
@chrome @smoke @test2.m.wikipedia.org @login @vagrant |
| 2 |
Feature: Manage Watchlist |
| 3 |
|
| 4 |
Background: |
| 5 |
Given I am logged into the mobile website |
| 6 |
|
| 7 |
Scenario: Add an article to the watchlist |
| 8 |
Given I am viewing an unwatched page |
| 9 |
When I click the watch star |
| 10 |
Then I should see a toast with message "Added" |
| 11 |
And the watch star should be selected |
| 12 |
|
| 13 |
Scenario: Remove an article from the watchlist |
| 14 |
Given I am viewing a watched page |
| 15 |
When I click the unwatch star |
| 16 |
Then I should see a toast with message "Removed" |
| 17 |
And the watch star should not be selected |