2014-08-18 17:43:41 +00:00
|
|
|
@chrome @en.wikipedia.beta.wmflabs.org @firefox @login @test2.wikipedia.org
|
2014-08-05 00:20:59 +00:00
|
|
|
Feature: Notification types
|
|
|
|
|
2014-08-14 18:46:26 +00:00
|
|
|
# Scenarios which trigger notifications
|
|
|
|
Scenario: Someone links to a page I created
|
|
|
|
Given I am logged in with no notifications
|
|
|
|
And another user has linked to a page I created from another page
|
|
|
|
And I come back from grabbing a cup of coffee
|
|
|
|
When I am on the "Selenium Echo flyout test page" page
|
|
|
|
Then I have new notifications
|
|
|
|
|
|
|
|
Scenario: Mention message triggers notification
|
|
|
|
Given I am logged in with no notifications
|
|
|
|
And another user mentions me on the wiki
|
|
|
|
And I come back from grabbing a cup of coffee
|
|
|
|
When I am on the "Selenium Echo flyout test page" page
|
|
|
|
Then I have new notifications
|
|
|
|
|
|
|
|
Scenario: Talk page message triggers talk notification
|
|
|
|
Given I am logged in with no notifications
|
|
|
|
# And I do not have Flow boards enabled on the user talk namespace
|
|
|
|
And another user writes on my talk page
|
|
|
|
And I come back from grabbing a cup of coffee
|
|
|
|
When I am on the "Selenium Echo flyout test page" page
|
|
|
|
Then I have new notifications
|
|
|
|
|
2014-08-05 00:20:59 +00:00
|
|
|
Scenario: New user gets a sign up notification
|
|
|
|
Given I am logged in as a new user
|
2014-08-14 18:46:26 +00:00
|
|
|
And I am on the "Selenium Echo flyout test page" page
|
2014-08-05 00:20:59 +00:00
|
|
|
Then I have new notifications
|
|
|
|
|
2014-08-14 18:46:26 +00:00
|
|
|
Scenario: Page revert
|
|
|
|
# Too hard. Will do later.
|
|
|
|
|
|
|
|
# Scenarios which do not trigger notifications (but might be expected to)
|
|
|
|
Scenario: The @ message is not a keyword
|
|
|
|
Given I am logged in with no notifications
|
|
|
|
And another user @s me on "Talk:Echo at test"
|
|
|
|
When I am on the "Selenium Echo flyout test page" page
|
|
|
|
Then I have no new notifications
|