mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-18 11:35:54 +00:00
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
|