You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: tests/acceptance/features/webUIResharing1/reshareUsers.feature
+6-31
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,9 @@ Feature: Resharing shared files with different permissions
14
14
| Carol |
15
15
And user "Brian" has created folder "simple-folder" in the server
16
16
17
-
@issue-ocis-2260
17
+
# this scenario is skipped on ocis because it opens share folder which in not possible in OCIS
18
+
# but it works for OC10 see issue https://github.com/owncloud/web/issues/6896 for more detail
19
+
@skipOnOCIS
18
20
Scenario: share a folder with another user with share permissions and reshare without share permissions to different user, and check if user is displayed for original sharer
19
21
Given user "Brian" has shared folder "simple-folder" with user "Alice" with "read, share" permissions in the server
20
22
And user "Alice" has accepted the share "Shares/simple-folder" offered by user "Brian" in the server
@@ -41,36 +43,9 @@ Feature: Resharing shared files with different permissions
41
43
| item_type | folder |
42
44
| permissions | read |
43
45
44
-
@skipOnOC10@issue-ocis-2260
45
-
#after fixing the issue delete this scenario and use the one above by deleting the @skipOnOCIS tag there
46
-
Scenario: share a folder with another user with share permissions and reshare without share permissions to different user, and check if user is displayed for original sharer (ocis bug demonstration)
47
-
Given user "Brian" has shared folder "simple-folder" with user "Alice" with "read, share" permissions in the server
48
-
And user "Alice" has accepted the share "simple-folder" offered by user "Brian" in the server
49
-
And user "Alice" has logged in using the webUI
50
-
And the user opens folder "Shares" using the webUI
51
-
When the user shares folder "simple-folder" with user "Carol King" as "Viewer" with permissions "," using the webUI
52
-
And user "Carol" accepts the share "simple-folder" offered by user "Alice" using the sharing API in the server
53
-
And the user re-logs in as "Brian" using the webUI
54
-
Then user "Carol King" should be listed as "Viewer" in the collaborators list for folder "simple-folder" on the webUI
55
-
And no custom permissions should be set for collaborator "Carol King" for folder "simple-folder" on the webUI
56
-
And user "Alice Hansen" should be listed as "Viewer" in the collaborators list for folder "simple-folder" on the webUI
57
-
And custom permissions "share" should be set for user "Alice Hansen" for folder "simple-folder" on the webUI
58
-
And user "Alice" should have received a share with these details in the server:
59
-
| field | value |
60
-
| uid_owner | Brian |
61
-
| share_with | Alice |
62
-
| file_target | /Shares/simple-folder |
63
-
| item_type | folder |
64
-
| permissions | read, share |
65
-
And user "Carol" should have received a share with these details in the server:
66
-
| field | value |
67
-
| uid_owner | Alice |
68
-
| share_with | Carol |
69
-
| file_target | /Shares/simple-folder |
70
-
| item_type | folder |
71
-
| permissions | read |
72
-
73
-
@issue-2260
46
+
# this scenario is skipped on ocis because it opens share folder which in not possible in OCIS
47
+
# but it works for OC10 see issue https://github.com/owncloud/web/issues/6896 for more detail
48
+
@skipOnOCIS
74
49
Scenario: share a folder with another user with share permissions and reshare without share permissions to different user, and check if user is displayed for the receiver
75
50
Given user "Brian" has shared folder "simple-folder" with user "Alice" with "read, share" permissions in the server
76
51
And user "Alice" has accepted the share "Shares/simple-folder" offered by user "Brian" in the server
Copy file name to clipboardexpand all lines: tests/acceptance/features/webUIResharing2/reshareUsers.feature
+12-30
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,9 @@ Feature: Resharing shared files with different permissions
25
25
Then user "Carol King" should be listed as "Custom permissions" in the collaborators list for folder "simple-folder" on the webUI
26
26
And no custom permissions should be set for collaborator "Carol King" for folder "simple-folder" on the webUI
27
27
28
-
@issue-ocis-1922
28
+
# this scenario is skipped on ocis because it opens share folder which in not possible in OCIS
29
+
# but it works for OC10 see issue https://github.com/owncloud/web/issues/6896 for more detail
30
+
@skipOnOCIS
29
31
Scenario: Reshare a folder without share permissions using API and check if it is listed on the collaborators list for resharer
30
32
Given user "Brian" has shared folder "simple-folder" with user "Alice" with "read, share" permissions in the server
31
33
And user "Alice" has accepted the share "Shares/simple-folder" offered by user "Brian" in the server
@@ -37,7 +39,9 @@ Feature: Resharing shared files with different permissions
37
39
Then user "Carol King" should be listed as "Custom permissions" in the collaborators list for folder "simple-folder" on the webUI
38
40
And no custom permissions should be set for collaborator "Carol King" for folder "simple-folder" on the webUI
39
41
40
-
42
+
# this scenario is skipped on ocis because it opens share folder which in not possible in OCIS
43
+
# but it works for OC10 see issue https://github.com/owncloud/web/issues/6896 for more detail
44
+
@skipOnOCIS
41
45
Scenario: Reshare a folder without share permissions using API and check if the receiver can reshare
42
46
Given user "Brian" has shared folder "simple-folder" with user "Alice" with "read, share" permissions in the server
43
47
And user "Alice" has accepted the share "Shares/simple-folder" offered by user "Brian" in the server
@@ -47,7 +51,9 @@ Feature: Resharing shared files with different permissions
47
51
And the user opens folder "Shares" using the webUI
48
52
Then the user should not be able to share folder "simple-folder" using the webUI
49
53
50
-
@issue-ocis-2260@issue-ocis-1922
54
+
# this scenario is skipped on ocis because it opens share folder which in not possible in OCIS
55
+
# but it works for OC10 see issue https://github.com/owncloud/web/issues/6896 for more detail
56
+
@skipOnOCIS
51
57
Scenario Outline: share a received folder with another user with same permissions(including share permissions) and check if the user is displayed in collaborators list for resharer
52
58
Given user "Brian" has shared folder "simple-folder" with user "Alice" with "<permissions>" permissions in the server
53
59
And user "Alice" has accepted the share "Shares/simple-folder" offered by user "Brian" in the server
@@ -72,33 +78,9 @@ Feature: Resharing shared files with different permissions
#after fixing the issue delete this scenario and use the one above by deleting the @skipOnOCIS tag there
77
-
Scenario Outline: share a received folder with another user with same permissions(including share permissions) and check if the user is displayed in collaborators list for resharer (ocis bug demonstration)
78
-
Given user "Brian" has shared folder "simple-folder" with user "Alice" with "<permissions>" permissions in the server
79
-
And user "Alice" has accepted the share "simple-folder" offered by user "Brian" in the server
80
-
And user "Alice" has logged in using the webUI
81
-
And the user opens folder "Shares" using the webUI
82
-
When the user shares folder "simple-folder" with user "Carol King" as "<role>" with permissions "<collaborators-permissions>" using the webUI
83
-
And user "Carol" accepts the share "Shares/simple-folder" offered by user "Alice" using the sharing API in the server
84
-
Then user "Carol King" should be listed as "<displayed-role>" in the collaborators list for folder "simple-folder" on the webUI
85
-
And custom permissions "<displayed-permissions>" should be set for user "Carol King" for folder "simple-folder" on the webUI
86
-
And user "Carol" should have received a share with these details in the server:
# this scenario is skipped on ocis because it opens share folder which in not possible in OCIS
82
+
# but it works for OC10 see issue https://github.com/owncloud/web/issues/6896 for more detail
83
+
@skipOnOCIS
102
84
Scenario Outline: share a received folder with another user with same permissions(including share permissions) and check if the user is displayed in collaborators list for original owner
103
85
Given user "Brian" has shared folder "simple-folder" with user "Alice" with "<permissions>" permissions in the server
104
86
And user "Alice" has accepted the share "Shares/simple-folder" offered by user "Brian" in the server
0 commit comments