MinervaNeue/tests/browser/features/watchstar.feature
jdlrobson 96d4955834 QA: Adjustments to account for slow loading of mediawiki.notifications
Changes:
* Use css rather than class for finding toast
* Correct a test typo
* Add a step to wait until the mediawiki.notification module
has been loaded

Bug: T170890
Change-Id: I86e48e00ebb83772149da7c7f20097b5436a0cf5
2017-08-08 00:30:09 +00:00

18 lines
724 B
Gherkin

@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
Then I should see a toast with message "Added Selenium mobile watch test to your watchlist"
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
Then I should see a toast with message "Removed Selenium mobile watch test from your watchlist"
And the watch star should not be selected