@@ -64,8 +64,9 @@ Feature: Notification Settings
64
64
| permissionsRole | Viewer |
65
65
And user "Brian" should have "0" emails
66
66
67
- @email
68
- Scenario : disable mail and in-app notification for "Share Received" event
67
+ @issue-10937 @email
68
+ Scenario Outline : disable mail and in-app notification for "Share Received" event
69
+ Given the administrator has assigned the role "<user-role>" to user "Brian" using the Graph API
69
70
When user "Brian" disables notification for the following event using the settings API:
70
71
| event | Share Received |
71
72
| notificationTypes | mail ,in -app |
@@ -153,10 +154,15 @@ Feature: Notification Settings
153
154
When user "Brian" lists all notifications
154
155
Then the HTTP status code should be "200"
155
156
And the notifications should be empty
157
+ Examples :
158
+ | user -role |
159
+ | User |
160
+ | User Light |
156
161
157
- @email
158
- Scenario : disable mail and in-app notification for "Share Removed" event
159
- Given user "Alice" has sent the following resource share invitation:
162
+ @issue-10937 @email
163
+ Scenario Outline : disable mail and in-app notification for "Share Removed" event
164
+ Given the administrator has assigned the role "<user-role>" to user "Brian" using the Graph API
165
+ And user "Alice" has sent the following resource share invitation:
160
166
| resource | lorem .txt |
161
167
| space | Personal |
162
168
| sharee | Brian |
@@ -245,13 +251,18 @@ Feature: Notification Settings
245
251
| message |
246
252
| Alice Hansen shared lorem .txt with you |
247
253
But user "Brian" should not have a notification related to resource "lorem.txt" with subject "Resource unshared"
254
+ Examples :
255
+ | user -role |
256
+ | User |
257
+ | User Light |
248
258
249
- @email
250
- Scenario : disable mail and in-app notification for "Share Removed" event (Project space)
259
+ @issue-10937 @ email
260
+ Scenario Outline : disable mail and in-app notification for "Share Removed" event (Project space)
251
261
Given using spaces DAV path
252
262
And the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API
253
263
And user "Alice" has created a space "newSpace" with the default quota using the Graph API
254
264
And user "Alice" has uploaded a file inside space "newSpace" with content "some content" to "insideSpace.txt"
265
+ And the administrator has assigned the role "<user-role>" to user "Brian" using the Graph API
255
266
And user "Alice" has sent the following resource share invitation:
256
267
| resource | insideSpace .txt |
257
268
| space | newSpace |
@@ -341,11 +352,16 @@ Feature: Notification Settings
341
352
| message |
342
353
| Alice Hansen shared insideSpace .txt with you |
343
354
But user "Brian" should not have a notification related to resource "insideSpace.txt" with subject "Resource unshared"
355
+ Examples :
356
+ | user -role |
357
+ | User |
358
+ | User Light |
344
359
345
-
346
- Scenario : disable in-app notification for "Space disabled" event
360
+ @issue-10937
361
+ Scenario Outline : disable in-app notification for "Space disabled" event
347
362
Given the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API
348
363
And user "Alice" has created a space "new-space" with the default quota using the Graph API
364
+ And the administrator has assigned the role "<user-role>" to user "Brian" using the Graph API
349
365
And user "Alice" has sent the following space share invitation:
350
366
| space | new -space |
351
367
| sharee | Brian |
@@ -437,9 +453,13 @@ Feature: Notification Settings
437
453
| message |
438
454
| Alice Hansen added you to Space new -space |
439
455
But user "Brian" should not have a notification related to space "new-space" with subject "Space disabled"
456
+ Examples :
457
+ | user -role |
458
+ | User |
459
+ | User Light |
440
460
441
461
@issue-10864 @email
442
- Scenario : disable email notification for user light
462
+ Scenario : disable email notification for User Light mode
443
463
Given the administrator has assigned the role "User Light" to user "Brian" using the Graph API
444
464
When user "Brian" disables email notification using the settings API
445
465
Then the HTTP status code should be "201"
@@ -495,11 +515,12 @@ Feature: Notification Settings
495
515
| Alice Hansen shared lorem .txt with you |
496
516
And user "Brian" should have "0" emails
497
517
498
- @email
499
- Scenario : disable mail and in-app notification for "Added as space member" event
518
+ @issue-10937 @ email
519
+ Scenario Outline : disable mail and in-app notification for "Added as space member" event
500
520
Given using spaces DAV path
501
521
And the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API
502
522
And user "Alice" has created a space "newSpace" with the default quota using the Graph API
523
+ And the administrator has assigned the role "<user-role>" to user "Brian" using the Graph API
503
524
When user "Brian" disables notification for the following event using the settings API:
504
525
| event | Added As Space Member |
505
526
| notificationTypes | mail ,in -app |
@@ -586,6 +607,10 @@ Feature: Notification Settings
586
607
Then the HTTP status code should be "200"
587
608
And the notifications should be empty
588
609
And user "Brian" should have "0" emails
610
+ Examples :
611
+ | user -role |
612
+ | User |
613
+ | User Light |
589
614
590
615
@email
591
616
Scenario : no email should be received when email sending interval is set to never
@@ -644,11 +669,12 @@ Feature: Notification Settings
644
669
| Alice Hansen shared lorem .txt with you |
645
670
And user "Brian" should have "0" emails
646
671
647
- @email
648
- Scenario : disable mail and in-app notification for "Removed as space member" event
672
+ @issue-10937 @ email
673
+ Scenario Outline : disable mail and in-app notification for "Removed as space member" event
649
674
Given using spaces DAV path
650
675
And the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API
651
676
And user "Alice" has created a space "newSpace" with the default quota using the Graph API
677
+ And the administrator has assigned the role "<user-role>" to user "Brian" using the Graph API
652
678
And user "Alice" has sent the following space share invitation:
653
679
| space | newSpace |
654
680
| sharee | Brian |
@@ -745,6 +771,10 @@ Feature: Notification Settings
745
771
746
772
Click here to view it: %base_url%/f/%space_id%
747
773
"""
774
+ Examples :
775
+ | user -role |
776
+ | User |
777
+ | User Light |
748
778
749
779
@email
750
780
Scenario : disable mail and in-app notification for "Space Membership Expired" event
@@ -850,7 +880,7 @@ Feature: Notification Settings
850
880
"""
851
881
852
882
853
- Scenario : disable share expired in-app and mail notification
883
+ Scenario : disable mail and in-app notification for "Share Expired" event
854
884
Given using SharingNG
855
885
And user "Alice" has uploaded file with content "hello world" to "testfile.txt"
856
886
When user "Brian" disables notification for the following event using the settings API:
0 commit comments