Skip to content

Commit f71abe1

Browse files
committed
Skip test on OCIS related to sharing
1 parent 2cd7eb4 commit f71abe1

File tree

6 files changed

+31
-103
lines changed

6 files changed

+31
-103
lines changed

tests/acceptance/expected-failures-with-ocis-server-ocis-storage.md

+1-36
Original file line numberDiff line numberDiff line change
@@ -36,26 +36,6 @@ Other free text and markdown formatting can be used elsewhere in the document if
3636
### [when sharer renames the shared resource, sharee get the updated name](https://github.com/owncloud/ocis/issues/2256)
3737
- [webUIRenameFiles/renameFiles.feature:234](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIRenameFiles/renameFiles.feature#L234)
3838

39-
### [Viewer cannot share a shared resource](https://github.com/owncloud/ocis/issues/2260)
40-
- [webUISharingInternalUsers/shareWithUsers.feature:52](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingInternalUsers/shareWithUsers.feature#L52)
41-
- [webUISharingInternalUsers/shareWithUsers.feature:53](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingInternalUsers/shareWithUsers.feature#L53)
42-
- [webUISharingInternalUsers/shareWithUsers.feature:54](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingInternalUsers/shareWithUsers.feature#L54)
43-
- [webUISharingInternalUsers/shareWithUsers.feature:275](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingInternalUsers/shareWithUsers.feature#L275)
44-
- [webUISharingInternalUsers/shareWithUsers.feature:276](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingInternalUsers/shareWithUsers.feature#L276)
45-
- [webUISharingInternalUsers/shareWithUsers.feature:277](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingInternalUsers/shareWithUsers.feature#L277)
46-
- [webUISharingInternalUsersShareWithPage/shareWithUsers.feature:140](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingInternalUsersShareWithPage/shareWithUsers.feature#L140)
47-
- [webUISharingPermissionsUsers/sharePermissionsUsers.feature:214](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingPermissionsUsers/sharePermissionsUsers.feature#L223)
48-
- [webUIResharing2/reshareUsers.feature:41](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIResharing2/reshareUsers.feature#L41)
49-
- [webUIResharing2/reshareUsers.feature:69](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIResharing2/reshareUsers.feature#L69)
50-
- [webUIResharing2/reshareUsers.feature:70](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIResharing2/reshareUsers.feature#L70)
51-
- [webUIResharing2/reshareUsers.feature:95](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIResharing2/reshareUsers.feature#L95)
52-
- [webUIResharing2/reshareUsers.feature:96](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIResharing2/reshareUsers.feature#L96)
53-
- [webUIResharing2/reshareUsers.feature:130](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIResharing2/reshareUsers.feature#L130)
54-
- [webUIResharing2/reshareUsers.feature:131](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIResharing2/reshareUsers.feature#L131)
55-
- [webUIResharing1/reshareUsers.feature:18](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIResharing1/reshareUsers.feature#L18)
56-
- [webUIResharing1/reshareUsers.feature:46](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIResharing1/reshareUsers.feature#L46)
57-
- [webUIResharing1/reshareUsers.feature:74](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIResharing1/reshareUsers.feature#L74)
58-
5939
### [No share indicators inside share jail](https://github.com/owncloud/web/issues/6894)
6040
- [webUISharingInternalUsersSharingIndicator/shareWithUsers.feature:100](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingInternalUsersSharingIndicator/shareWithUsers.feature#L100)
6141
- [webUISharingInternalUsersSharingIndicator/shareWithUsers.feature:121](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingInternalUsersSharingIndicator/shareWithUsers.feature#L121)
@@ -153,22 +133,7 @@ Other free text and markdown formatting can be used elsewhere in the document if
153133
- [webUIMoveFilesFolders/moveFiles.feature:97](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIMoveFilesFolders/moveFiles.feature#L97)
154134
- [webUIMoveFilesFolders/moveFolders.feature:72](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIMoveFilesFolders/moveFolders.feature#L72)
155135
- [webUIFilesActionMenu/versions.feature:93](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIFilesActionMenu/versions.feature#L93)
156-
157-
158-
### [Share not created with default permissions](https://github.com/owncloud/ocis/issues/1277)
159-
- [webUISharingInternalGroups/shareWithGroups.feature:74](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingInternalGroups/shareWithGroups.feature#L74)
160-
- [webUISharingInternalGroups/shareWithGroups.feature:72](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingInternalGroups/shareWithGroups.feature#L72)
161-
- [webUISharingInternalGroups/shareWithGroups.feature:73](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingInternalGroups/shareWithGroups.feature#L73)
162-
- [webUIResharing2/reshareUsers.feature:97](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIResharing2/reshareUsers.feature#L97)
163-
- [webUIResharing2/reshareUsers.feature:98](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIResharing2/reshareUsers.feature#L98)
164-
- [webUIResharing2/reshareUsers.feature:99](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIResharing2/reshareUsers.feature#L99)
165-
- [webUIResharing2/reshareUsers.feature:132](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIResharing2/reshareUsers.feature#L132)
166-
- [webUIResharing2/reshareUsers.feature:133](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIResharing2/reshareUsers.feature#L133)
167-
- [webUIResharing2/reshareUsers.feature:134](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIResharing2/reshareUsers.feature#L134)
168-
- [webUIResharing2/reshareUsers.feature:29](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIResharing2/reshareUsers.feature#L29)
169-
- [webUIResharing2/reshareUsers.feature:71](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIResharing2/reshareUsers.feature#L71)
170-
- [webUIResharing2/reshareUsers.feature:72](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIResharing2/reshareUsers.feature#L72)
171-
- [webUIResharing2/reshareUsers.feature:73](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIResharing2/reshareUsers.feature#L73)
136+
- [webUISharingInternalUsersShareWithPage/shareWithUsers.feature:140](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingInternalUsersShareWithPage/shareWithUsers.feature#L140)
172137

173138
### [No occ command in ocis](https://github.com/owncloud/ocis/issues/1317)
174139
### [Expiration date set is not implemented in user share](https://github.com/owncloud/ocis/issues/1250)

tests/acceptance/features/webUIResharing1/reshareUsers.feature

+6-31
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ Feature: Resharing shared files with different permissions
1414
| Carol |
1515
And user "Brian" has created folder "simple-folder" in the server
1616

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
1820
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
1921
Given user "Brian" has shared folder "simple-folder" with user "Alice" with "read, share" permissions in the server
2022
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
4143
| item_type | folder |
4244
| permissions | read |
4345

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
7449
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
7550
Given user "Brian" has shared folder "simple-folder" with user "Alice" with "read, share" permissions in the server
7651
And user "Alice" has accepted the share "Shares/simple-folder" offered by user "Brian" in the server

tests/acceptance/features/webUIResharing2/reshareUsers.feature

+12-30
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ Feature: Resharing shared files with different permissions
2525
Then user "Carol King" should be listed as "Custom permissions" in the collaborators list for folder "simple-folder" on the webUI
2626
And no custom permissions should be set for collaborator "Carol King" for folder "simple-folder" on the webUI
2727

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
2931
Scenario: Reshare a folder without share permissions using API and check if it is listed on the collaborators list for resharer
3032
Given user "Brian" has shared folder "simple-folder" with user "Alice" with "read, share" permissions in the server
3133
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
3739
Then user "Carol King" should be listed as "Custom permissions" in the collaborators list for folder "simple-folder" on the webUI
3840
And no custom permissions should be set for collaborator "Carol King" for folder "simple-folder" on the webUI
3941

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
4145
Scenario: Reshare a folder without share permissions using API and check if the receiver can reshare
4246
Given user "Brian" has shared folder "simple-folder" with user "Alice" with "read, share" permissions in the server
4347
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
4751
And the user opens folder "Shares" using the webUI
4852
Then the user should not be able to share folder "simple-folder" using the webUI
4953

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
5157
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
5258
Given user "Brian" has shared folder "simple-folder" with user "Alice" with "<permissions>" permissions in the server
5359
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
7278
| Custom permissions | Custom permissions | update, share | share, update | read, update, share |
7379
| Custom permissions | Editor | delete, share, create, update | share, delete, update, create | read, share, delete, update, create |
7480

75-
@skipOnOC10 @issue-ocis-2260 @issue-ocis-1922
76-
#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:
87-
| field | value |
88-
| uid_owner | Alice |
89-
| share_with | Carol |
90-
| file_target | /Shares/simple-folder |
91-
| item_type | folder |
92-
| permissions | <permissions> |
93-
Examples:
94-
| role | displayed-role | collaborators-permissions | displayed-permissions | permissions |
95-
| Viewer | Viewer | , | , | read |
96-
| Editor | Editor | , | , | all |
97-
| Custom permissions | Custom permissions | create | create | read, create |
98-
| Custom permissions | Custom permissions | update | update | read, update |
99-
| Custom permissions | Editor | delete, create, update | | read, delete, update, create |
100-
101-
@issue-ocis-1743
81+
# 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
10284
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
10385
Given user "Brian" has shared folder "simple-folder" with user "Alice" with "<permissions>" permissions in the server
10486
And user "Alice" has accepted the share "Shares/simple-folder" offered by user "Brian" in the server

tests/acceptance/features/webUISharingInternalGroups/shareWithGroups.feature

+3-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ Feature: Sharing files and folders with internal groups
2626
And the user shares folder "simple-folder" with user "Alice Hansen" as "Viewer" using the webUI
2727
Then the current collaborators list should have order "Alice Hansen,Brian Murphy,grp1,grp11"
2828

29-
@issue-ocis-1922
29+
# this scenario is skipped on ocis because it opens share folder which in not possible in OCIS
30+
# but it works for OC10 see issue https://github.com/owncloud/web/issues/6896 for more detail
31+
@skipOnOCIS
3032
Scenario Outline: share a file & folder with another internal user
3133
Given user "Carol" has created folder "simple-folder" in the server
3234
And user "Carol" has created file "simple-folder/lorem.txt" in the server

tests/acceptance/features/webUISharingInternalUsers/shareWithUsers.feature

+6-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ Feature: Sharing files and folders with internal users
1212
| Brian |
1313
And user "Brian" has created folder "simple-folder" in the server
1414

15-
@smokeTest @issue-ocis-2260 @ocisSmokeTest @disablePreviews
15+
# this scenario is skipped on ocis because it opens share folder which in not possible in OCIS
16+
# but it works for OC10 see issue https://github.com/owncloud/web/issues/6896 for more detail
17+
@smokeTest @disablePreviews @skipOnOCIS
1618
Scenario Outline: share a file & folder with another internal user
1719
Given user "Brian" has created file "testimage.jpg" in the server
1820
And user "Brian" has created file "simple-folder/lorem.txt" in the server
@@ -238,8 +240,9 @@ Feature: Sharing files and folders with internal users
238240

239241

240242

241-
242-
@issue-ocis-2260 @disablePreviews
243+
# this scenario is skipped on ocis because it opens share folder which in not possible in OCIS
244+
# but it works for OC10 see issue https://github.com/owncloud/web/issues/6896 for more detail
245+
@skipOnOCIS @disablePreviews
243246
Scenario Outline: Share files/folders with special characters in their name
244247
Given user "Brian" has created folder "Sample,Folder,With,Comma" in the server
245248
And user "Brian" has created file "sample,1.txt" in the server

tests/acceptance/features/webUISharingPermissionsUsers/sharePermissionsUsers.feature

+3-2
Original file line numberDiff line numberDiff line change
@@ -209,8 +209,9 @@ Feature: Sharing files and folders with internal users with different permission
209209

210210

211211

212-
213-
@issue-ocis-2260
212+
# this scenario is skipped on ocis because it opens share folder which in not possible in OCIS
213+
# but it works for OC10 see issue https://github.com/owncloud/web/issues/6896 for more detail
214+
@skipOnOCIS
214215
Scenario: User is allowed to update permissions of a reshared sub-folder within the permissions that the user has received
215216
Given user "Carol" has been created with default attributes and without skeleton files in the server
216217
And user "Brian" has shared folder "simple-folder" with user "Alice" with "all" permissions in the server

0 commit comments

Comments
 (0)