mediawiki-extensions-Echo/tests/browser/features/notifications.feature
Željko Filipin ffaf7586dd Rake test target now runs RuboCop, RSpec and Cucumber/Selenium tests.
Bug: T164479
Change-Id: I73a075f1aa8ce3d6321f5b1eeb62fe27d1d021f0
2017-09-04 16:02:48 +00:00

23 lines
734 B
Gherkin

@chrome @en.wikipedia.beta.wmflabs.org @firefox @localhost @vagrant
Feature: Testing notification types
Background:
Given I am logged in
And all my notifications are read
Scenario: Someone mentions me
Given another user mentions me
When I refresh the page
Then the alert badge is showing unseen notifications
And the alert badge value is "Alert (1)"
@skip
Scenario: Someone writes on my talk page
Given another user writes on my talk page
When I refresh the page
Then the alert badge is showing unseen notifications
And the alert badge value is "Alert (1)"
When I click the alert badge
And I see the alert popup
Then there are "1" unread notifications in the alert popup