mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-30 02:24:23 +00:00
bb6eef198c
yippee ki yay! Tests basic functionality 1) presence of Echo button 2) behaviour of clicking Echo button Change-Id: I6334264e1ee73a59da1e7b0c3f18a1d43b565f3a
16 lines
450 B
Ruby
16 lines
450 B
Ruby
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 button$/) do
|
|
on(ArticlePage).flyout_link_container_element.when_present
|
|
end
|
|
|
|
When(/^I click the notification flyout button$/) do
|
|
on(ArticlePage).flyout_link_element.when_present.click
|
|
end
|
|
|
|
Then(/^I see the notification flyout$/) do
|
|
on(ArticlePage).flyout_element.when_present
|
|
end
|