refine chat notification feature file

This commit is contained in:
mahula 2025-05-06 21:25:15 +02:00
parent ca1af44d76
commit 2c9c2123c1

View File

@ -19,13 +19,19 @@ Feature: Notifications for Chat Messages via E-Mail
And the mailserver inbox is empty
Scenario: Receive Chat Notification Email only when Online
When "Chilly Chatter" sends a chat message to "Anna Absent"
And "Michi Mute" sends a chat message to "Anna Absent"
And "Billy Block" sends a chat message to "Anna Absent"
Then "moderator@example.org" should receive "1" chat notification email referencing "Chilly Chatter"
When I am logged in as "bob-der-baumeister"
And "Chilly Chatter" sends a chat message to "Anna Absent"
And "Michi Mute" sends a chat message to "Anna Absent"
And "Billy Block" sends a chat message to "Anna Absent"
Then "anna.absent@example.org" should receive no chat notification email
When I am logged in as "chilly-chatter"
And I send a chat message to "Anna Absent"
And I log out
When I am logged in as "michi-mute"
And I send a chat message to "Anna Absent"
And I log out
When I am logged in as "billy-block"
And I send a chat message to "Anna Absent"
And I log out
# Then "Anna Absent" should receive "1" chat notification email referencing "Chilly Chatter"
# When I am logged in as "anna-absent"
# And "Chilly Chatter" sends a chat message to "Anna Absent"
# And "Michi Mute" sends a chat message to "Anna Absent"
# And "Billy Block" sends a chat message to "Anna Absent"
# Then "anna.absent@example.org" should receive no chat notification email