mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-12-04 12:18:30 +00:00
10c4ed6f49
* extract notifications to components/notifications.rb * wait for the flyout to be loaded before counting the unread notifications * remove popup.feature because it is redudant with notifications.feature and too low-level for acceptance testing Change-Id: If0b0286e8e98e379ae1d6d91db8084adda93b3f6
12 lines
305 B
Ruby
12 lines
305 B
Ruby
Given(/^I see the alert popup$/) do
|
|
on(ArticlePage) do |page|
|
|
expect(page.alerts.title_element.when_present.text).to match('Alerts')
|
|
end
|
|
end
|
|
|
|
Given(/^I see the message popup$/) do
|
|
on(ArticlePage) do |page|
|
|
expect(page.messages.title_element.when_present.text).to match('Messages')
|
|
end
|
|
end
|