Skip to content

Commit

Permalink
test: add test to check mail notification for user with role User Light
Browse files Browse the repository at this point in the history
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
  • Loading branch information
prashant-gurung899 committed Feb 4, 2025
1 parent 4f8f4dd commit e30b182
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions tests/acceptance/features/apiSettings/notificationSetting.feature
Original file line number Diff line number Diff line change
Expand Up @@ -607,3 +607,24 @@ Feature: Notification Settings
| message |
| Alice Hansen added you to Space new-space |
But user "Brian" should not have a notification related to space "new-space" with subject "Space disabled"

@issue-10864
Scenario Outline: disable email notification for user light
Given the administrator has assigned the role "<user-role>" to user "Brian" using the Graph API
And user "Alice" has sent the following resource share invitation:
| resource | lorem.txt |
| space | Personal |
| sharee | Brian |
| shareType | user |
| permissionsRole | Viewer |
When user "Brian" lists all notifications
Then the HTTP status code should be "200"
And there should be "1" notifications
And user "Brian" should get a notification with subject "Resource shared" and message:
| message |
| Alice Hansen shared lorem.txt with you |
And user "Brian" should have "1" emails
Examples:
| user-role |
| User |
| User Light |

0 comments on commit e30b182

Please sign in to comment.