@@ -91,7 +91,7 @@ Feature: Notification
91
91
92
92
@issue-10937 @email
93
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
94
+ Given the administrator has assigned the role "<user-role>" to user "Brian" using the Graph API
95
95
When user "Alice" removes the access of user "Brian" from space "notification checking" using root endpoint of the Graph API
96
96
Then the HTTP status code should be "204"
97
97
And user "Brian" should get a notification with subject "Removed from Space" and message:
@@ -112,8 +112,10 @@ Feature: Notification
112
112
| User |
113
113
| User Light |
114
114
115
- Scenario : user gets in-app notification of space disabled (note: no mail notification)
116
- Given user "Alice" has disabled a space "notification checking"
115
+ @issue-10937
116
+ Scenario Outline : user gets in-app notification of space disabled (note: no mail notification)
117
+ Given the administrator has assigned the role "<user-role>" to user "Brian" using the Graph API
118
+ And user "Alice" has disabled a space "notification checking"
117
119
When user "Brian" lists all notifications
118
120
Then the HTTP status code should be "200"
119
121
And there should be "2" notifications
@@ -170,7 +172,10 @@ Feature: Notification
170
172
}
171
173
}
172
174
"""
173
-
175
+ Examples :
176
+ | user -role |
177
+ | User |
178
+ | User Light |
174
179
175
180
Scenario Outline : get in-app notification about a space share in various languages
176
181
Given user "Brian" has switched the system language to "<language>" using the Graph API
@@ -200,15 +205,20 @@ Feature: Notification
200
205
Then the HTTP status code should be "200"
201
206
And the notifications should be empty
202
207
203
- @email
204
- Scenario : user doesn't get any notification after being removed from space(note: no mail notification)
205
- Given user "Alice" has removed the access of user "Brian" from space "notification checking"
208
+ @issue-10937 @email
209
+ Scenario Outline : user doesn't get any notification after being removed from space (note: no mail notification)
210
+ Given the administrator has assigned the role "<user-role>" to user "Brian" using the Graph API
211
+ And user "Alice" has removed the access of user "Brian" from space "notification checking"
206
212
And user "Alice" has disabled a space "notification checking"
207
213
When user "Brian" lists all notifications
208
214
Then the HTTP status code should be "200"
209
215
And there should be "2" notifications
210
216
And user "Brian" should have "2" emails
211
217
But user "Brian" should not have a notification related to space "notification checking" with subject "Space disabled"
218
+ Examples :
219
+ | user -role |
220
+ | User |
221
+ | User Light |
212
222
213
223
@email
214
224
Scenario : group members get in-app and email notifications when someone shares a project space with the group
@@ -284,8 +294,9 @@ Feature: Notification
284
294
Zum Ansehen hier klicken: %base_url%/f/%space_id%
285
295
"""
286
296
287
- @issue-10882 @email
288
- Scenario : user gets in-app and email notifications when space membership expires
297
+ @issue-10937 @issue-10882 @email
298
+ Scenario Outline : user gets in-app and email notifications when space membership expires
299
+ Given the administrator has assigned the role "<user-role>" to user "Brian" using the Graph API
289
300
When user "Alice" has expired the membership of user "Brian" from space "notification checking"
290
301
Then the HTTP status code should be "200"
291
302
And user "Brian" should get a notification with subject "Membership expired" and message:
@@ -299,3 +310,7 @@ Feature: Notification
299
310
300
311
Even though this membership has expired you still might have access through other shares and/or space memberships
301
312
"""
313
+ Examples :
314
+ | user -role |
315
+ | User |
316
+ | User Light |
0 commit comments