@@ -12,41 +12,18 @@ Feature: Share Expiry Notification
12
12
13
13
14
14
Scenario : check share expired in-app and mail notification for Personal space resource
15
- Given user "Alice" has uploaded file with content "hello world" to "testfile.txt"
15
+ Given using SharingNG
16
+ And user "Alice" has uploaded file with content "hello world" to "testfile.txt"
16
17
And user "Alice" has sent the following resource share invitation:
17
18
| resource | testfile .txt |
18
19
| space | Personal |
19
20
| sharee | Brian |
20
21
| shareType | user |
21
22
| permissionsRole | Viewer |
22
23
| expirationDateTime | 2025 -07 -15T14 :00 :00Z |
23
- When user "Alice" expires the last created share:
24
- | space | Personal |
25
- | resource | testfile .txt |
24
+ When user "Alice" expires the last share of resource "testfile.txt" inside of the space "Personal"
26
25
Then the HTTP status code should be "200"
27
26
And user "Brian" should get a notification with subject "Membership expired" and message:
28
27
| message |
29
28
| Access to Space Alice Hansen lost |
30
29
And user "Brian" should have "2" emails
31
-
32
- @issue-10966
33
- Scenario : check share expired in-app and mail notification for Project space resource
34
- Given using spaces DAV path
35
- And the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API
36
- And user "Alice" has created a space "NewSpace" with the default quota using the Graph API
37
- And user "Alice" has uploaded a file inside space "NewSpace" with content "share space items" to "testfile.txt"
38
- And user "Alice" has sent the following resource share invitation:
39
- | resource | testfile .txt |
40
- | space | NewSpace |
41
- | sharee | Brian |
42
- | shareType | user |
43
- | permissionsRole | Viewer |
44
- | expirationDateTime | 2025 -07 -15T14 :00 :00Z |
45
- When user "Alice" expires the last created share:
46
- | space | NewSpace |
47
- | resource | testfile .txt |
48
- Then the HTTP status code should be "200"
49
- And user "Brian" should get a notification with subject "Membership expired" and message:
50
- | message |
51
- | Access to Space NewSpace lost |
52
- And user "Brian" should have "2" emails
0 commit comments