mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-29 00:20:51 +00:00
96d4955834
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
18 lines
724 B
Gherkin
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
|