mediawiki-skins-MinervaNeue/tests/browser/features/watchstar.feature
jdlrobson d5a60fdd43 Browser tests: Use generic toast step
Introduces a new generic
"I should see a toast with message ".*""
step reducing toast steps to two generic ones.

Change-Id: Ic8b91c78f6df088244f15223ee4ed658847a05b5
2017-07-27 13:41:54 -07:00

18 lines
716 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 "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