mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-12-02 19:36:48 +00:00
b3df4d0814
* add @custom_browser tag so we don't create an extra browser instance * remove @chrome tag because this only works in Firefox * alphabetize within G/W/T buckets in commons_steps.rb * alphabetize flyout_steps.rb * bring env.rb up to date with the modern situation * make assertions about the URL and heading on the final destination page * update Ruby gems, especially mediawiki-selenium with a @custom_browser improvement ** use modern RSpec assert syntax *** we're going to have to update all the repos for this soon Change-Id: I6cb20126a662bd2a20e2b4bbebe91e8f3b04c7df
15 lines
449 B
Ruby
15 lines
449 B
Ruby
When(/^I click the notification flyout button$/) do
|
|
on(ArticlePage).flyout_link_element.when_present.click
|
|
end
|
|
|
|
Then(/^I do not see the notification flyout button$/) do
|
|
on(ArticlePage).flyout_link_container_element.when_not_present
|
|
end
|
|
|
|
Then(/^I see the notification flyout$/) do
|
|
on(ArticlePage).flyout_element.when_present
|
|
end
|
|
|
|
Then(/^I see the notification flyout button$/) do
|
|
on(ArticlePage).flyout_link_container_element.when_present
|
|
end |