File tree 1 file changed +14
-5
lines changed
tests/acceptance/features/apiNotification
1 file changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -18,8 +18,9 @@ Feature: Notification
18
18
| shareType | user |
19
19
| permissionsRole | Space Editor |
20
20
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
23
24
When user "Brian" lists all notifications
24
25
Then the HTTP status code should be "200"
25
26
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
83
84
84
85
Click here to view it: %base_url%/f/%space_id%
85
86
"""
87
+ Examples :
88
+ | user -role |
89
+ | User |
90
+ | User Light |
86
91
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
89
95
When user "Alice" removes the access of user "Brian" from space "notification checking" using root endpoint of the Graph API
90
96
Then the HTTP status code should be "204"
91
97
And user "Brian" should get a notification with subject "Removed from Space" and message:
@@ -101,7 +107,10 @@ Feature: Notification
101
107
102
108
Click here to check it: %base_url%/f/%space_id%
103
109
"""
104
-
110
+ Examples :
111
+ | user -role |
112
+ | User |
113
+ | User Light |
105
114
106
115
Scenario : user gets in-app notification of space disabled (note: no mail notification)
107
116
Given user "Alice" has disabled a space "notification checking"
You can’t perform that action at this time.
0 commit comments