mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-12-01 10:56:44 +00:00
8b2c6355cc
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
23 lines
722 B
Gherkin
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
|