mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-18 03:31:34 +00:00
d5a60fdd43
Introduces a new generic "I should see a toast with message ".*"" step reducing toast steps to two generic ones. Change-Id: Ic8b91c78f6df088244f15223ee4ed658847a05b5
12 lines
422 B
Ruby
12 lines
422 B
Ruby
Given(/^I am viewing a watched page$/) do
|
|
api.create_page 'Selenium mobile watch test', 'watch test'
|
|
api.watch_page 'Selenium mobile watch test'
|
|
step 'I am on the "Selenium mobile watch test" page'
|
|
end
|
|
|
|
Given(/^I am viewing an unwatched page$/) do
|
|
api.create_page 'Selenium mobile watch test', 'watch test'
|
|
api.unwatch_page 'Selenium mobile watch test'
|
|
step 'I am on the "Selenium mobile watch test" page'
|
|
end
|