Skip to content

Commit 9ab93f7

Browse files
Add user-role as example's parameter in spaceNotification.feature
1 parent f03090c commit 9ab93f7

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

tests/acceptance/features/apiNotification/spaceNotification.feature

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@ Feature: Notification
1818
| shareType | user |
1919
| permissionsRole | Space Editor |
2020

21-
@email
22-
Scenario: user gets in-app and mail notifications of space shared
21+
@issue-10937 @email
22+
Scenario Outline: user gets in-app and mail notifications of space shared
23+
And the administrator has assigned the role "<user-role>" to user "Brian" using the Graph API
2324
When user "Brian" lists all notifications
2425
Then the HTTP status code should be "200"
2526
And the JSON response should contain a notification message with the subject "Space shared" and the message-details should match
@@ -83,9 +84,14 @@ Feature: Notification
8384
8485
Click here to view it: %base_url%/f/%space_id%
8586
"""
87+
Examples:
88+
| user-role |
89+
| User |
90+
| User Light |
8691

87-
@email
88-
Scenario: gets in-app and mail notification of space unshared
92+
@issue-10937 @email
93+
Scenario Outline: gets in-app and mail notification of space unshared
94+
And the administrator has assigned the role "<user-role>" to user "Brian" using the Graph API
8995
When user "Alice" removes the access of user "Brian" from space "notification checking" using root endpoint of the Graph API
9096
Then the HTTP status code should be "204"
9197
And user "Brian" should get a notification with subject "Removed from Space" and message:
@@ -101,7 +107,10 @@ Feature: Notification
101107
102108
Click here to check it: %base_url%/f/%space_id%
103109
"""
104-
110+
Examples:
111+
| user-role |
112+
| User |
113+
| User Light |
105114

106115
Scenario: user gets in-app notification of space disabled (note: no mail notification)
107116
Given user "Alice" has disabled a space "notification checking"

0 commit comments

Comments
 (0)