mediawiki-extensions-Echo/tests/browser/features/notifications.feature
Moriel Schottlender 8b2c6355cc Add browser test for notifications in Echo
This browser test checks that mentions go to alerts and talk page
messages go to messages popup. This also upgrades the MW-Selenium
version in Echo tests to 1.6.1.

Depends on MW-Selenium version 1.6.1 (See T114061)

Bug: T113081
Change-Id: I40a17500cdfb838420c04dc0b9268ba56515cc2c
2015-10-04 22:23:51 -07:00

23 lines
722 B
Gherkin

@chrome @firefox @internet_explorer_10
@en.wikipedia.beta.wmflabs.org
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 "1"
Scenario: Someone writes on my talk page
Given another user writes on my talk page
When I refresh the page
Then the message badge is showing unseen notifications
And the message badge value is "1"
When I click the message badge
And I see the message popup
Then there are "1" unread notifications in the message popup