mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2026-01-18 19:01:29 +00:00
e2e: add user follow notification feature file
This commit is contained in:
parent
6d26bc3cc5
commit
c7fcd2b335
23
cypress/e2e/User.Notification.feature
Normal file
23
cypress/e2e/User.Notification.feature
Normal file
@ -0,0 +1,23 @@
|
||||
Feature: Notifications regarding followed Users
|
||||
As a user
|
||||
I want to follow other users
|
||||
To get notified about them posting in the network
|
||||
|
||||
When absent or offline I get notified via e-mail
|
||||
|
||||
Background:
|
||||
Given the following "users" are in the database:
|
||||
| name | slug | email | password | id | termsAndConditionsAgreedVersion |
|
||||
| Bob der Baumeister | bob-der-baumeister | moderator@example.org | 1234 | u2 | 0.0.4 |
|
||||
| Jenny Rostock | jenny-rostock | user@example.org | 1234 | u3 | 0.0.4 |
|
||||
| Peter Pan | peter-pan | peterpan@example.org | 1234 | up | 0.0.4 |
|
||||
And "Bob der Baumeister" follows "Jenny Rostock"
|
||||
|
||||
Scenario: Get notified about new public post from followed user
|
||||
Given "Jenny Rostock" creates a public post in the network
|
||||
Then "Bob der Baumeister" receives "1" email about a new public post from "Jenny Rostock"
|
||||
Then "Peter Pan" receives "0" email about a new public post from "Jenny Rostock"
|
||||
When I am logged in as "Bob der Baumeister"
|
||||
Then I see a notification about the new post in the dashboard
|
||||
When "Jenny Rostock" creates a public post in the network
|
||||
Then "Bob der Baumeister" receives "0" email about a new public post from "Jenny Rostock"
|
||||
Loading…
x
Reference in New Issue
Block a user