mediawiki-extensions-Echo/tests/browser/features/step_definition/badge_steps.rb
Stephane Bisson 10c4ed6f49 Browser Tests: fix
* 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
2015-11-12 15:17:07 -08:00

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