File tree 1 file changed +32
-0
lines changed
tests/acceptance/features/apiNotification
1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change
1
+ @notification @email
2
+ Feature : Share Expiry Notification
3
+ As a user
4
+ I want to be notified when share expires
5
+ So that I can stay updated about the share
6
+
7
+ Background :
8
+ Given these users have been created with default attributes:
9
+ | username |
10
+ | Alice |
11
+ | Brian |
12
+
13
+ @issue-10966
14
+ Scenario : check share expired in-app and mail notification for Project space resource
15
+ Given using spaces DAV path
16
+ And using SharingNG
17
+ And the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API
18
+ And user "Alice" has created a space "NewSpace" with the default quota using the Graph API
19
+ And user "Alice" has uploaded a file inside space "NewSpace" with content "share space items" to "testfile.txt"
20
+ And user "Alice" has sent the following resource share invitation:
21
+ | resource | testfile .txt |
22
+ | space | NewSpace |
23
+ | sharee | Brian |
24
+ | shareType | user |
25
+ | permissionsRole | Viewer |
26
+ | expirationDateTime | 2025 -07 -15T14 :00 :00Z |
27
+ When user "Alice" expires the last share of resource "testfile.txt" inside of the space "NewSpace"
28
+ Then the HTTP status code should be "200"
29
+ And user "Brian" should get a notification with subject "Membership expired" and message:
30
+ | message |
31
+ | Access to Space NewSpace lost |
32
+ And user "Brian" should have "2" emails
You can’t perform that action at this time.
0 commit comments