mediawiki-extensions-Echo/tests/browser/features/step_definitions/flyout_steps.rb
Cmcmahon 1ac73fa54b QA: rubocop updates
Change-Id: I580ec597dbb0d1dcd0830233995f94bc27d10278
2014-11-10 10:50:10 -07:00

16 lines
503 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
expect(on(ArticlePage).flyout_link_container_element).not_to be_visible
end
Then(/^I see the notification flyout$/) do
expect(on(ArticlePage).flyout_element.when_present).to be_visible
end
Then(/^I see the notification flyout button$/) do
expect(on(ArticlePage).flyout_link_container_element.when_present).to be_visible
end