mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-12-04 20:28:49 +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
11 lines
246 B
Ruby
11 lines
246 B
Ruby
# Steps related to clicking and interacting with the badge
|
|
# Work in both nojs and js version
|
|
|
|
Given(/^I click the alert badge$/) do
|
|
on(ArticlePage).alerts.badge
|
|
end
|
|
|
|
Given(/^I click the message badge$/) do
|
|
on(ArticlePage).messages.badge
|
|
end
|