mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-12-11 23:46:53 +00:00
9ab351352f
Bug: T115845 Bug: T140900 Depends-On: Ic666540d70de52f Change-Id: I34e2736490319989a3a251a43fbe8080ab960b00
11 lines
298 B
Ruby
11 lines
298 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_element.when_present.click
|
|
end
|
|
|
|
Given(/^I click the notice badge$/) do
|
|
on(ArticlePage).notices.badge_element.when_present.click
|
|
end
|