diff --git a/tests/acceptance/expected-failures-with-oc10-server-oauth2-login.md b/tests/acceptance/expected-failures-with-oc10-server-oauth2-login.md index 035fe97acad..354484c884b 100644 --- a/tests/acceptance/expected-failures-with-oc10-server-oauth2-login.md +++ b/tests/acceptance/expected-failures-with-oc10-server-oauth2-login.md @@ -8,11 +8,7 @@ Level-3 headings should be used for the references to the relevant issues. Inclu Other free text and markdown formatting can be used elsewhere in the document if needed. But if you want to explain something about the issue, then please post that in the issue itself. -### [Endless loading when opening a file in section "Shared with me" or "Shared with other"](https://github.com/owncloud/web/issues/5324) -- [webUIPreview/mediaPreview.feature:143](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIPreview/imageMediaViewer.feature#L143) -- [webUIPreview/mediaPreview.feature:152](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIPreview/imageMediaViewer.feature#L152) - -### [webUILogin/adminBlocksUser.feature:20 behaves differently on CI](https://github.com/owncloud/web/issues/4743) +### [user session of a blocked user is not cleared properly](https://github.com/owncloud/web/issues/4795) - [webUILogin/adminBlocksUser.feature:20](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUILogin/adminBlocksUser.feature#L20) ### [Comments in sidebar](https://github.com/owncloud/web/issues/1158) diff --git a/tests/acceptance/expected-failures-with-ocis-server-ocis-storage.md b/tests/acceptance/expected-failures-with-ocis-server-ocis-storage.md index 9ec7ac371ef..d17aa966638 100644 --- a/tests/acceptance/expected-failures-with-ocis-server-ocis-storage.md +++ b/tests/acceptance/expected-failures-with-ocis-server-ocis-storage.md @@ -8,14 +8,11 @@ Level-3 headings should be used for the references to the relevant issues. Inclu Other free text and markdown formatting can be used elsewhere in the document if needed. But if you want to explain something about the issue, then please post that in the issue itself. -### [Endless loading when opening a file in section "Shared with me" or "Shared with other"](https://github.com/owncloud/web/issues/5324) -- [webUIPreview/mediaPreview.feature:143](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIPreview/imageMediaViewer.feature#L143) -- [webUIPreview/mediaPreview.feature:152](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIPreview/imageMediaViewer.feature#L152) ### [Exit page re-appears in loop when logged in user is deleted](https://github.com/owncloud/web/issues/4677) - [webUILogin/openidLogin.feature:50](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUILogin/openidLogin.feature#L50) -### [REPORT request not implemented](https://github.com/owncloud/ocis/issues/1330) +### [Support for favorites](https://github.com/owncloud/ocis/issues/1228) - [webUIFavorites/favoritesFile.feature:12](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIFavorites/favoritesFile.feature#L12) - [webUIFavorites/favoritesFile.feature:28](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIFavorites/favoritesFile.feature#L28) - [webUIFavorites/favoritesFile.feature:44](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIFavorites/favoritesFile.feature#L44) @@ -85,17 +82,17 @@ Other free text and markdown formatting can be used elsewhere in the document if - [webUIResharing1/reshareUsers.feature:46](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIResharing1/reshareUsers.feature#L46) - [webUIResharing1/reshareUsers.feature:74](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIResharing1/reshareUsers.feature#L74) -### [sharing expiration date input not present](https://github.com/owncloud/web/issues/4169) +### [Implement expiration date for shares](https://github.com/owncloud/ocis/issues/1250) - [webUISharingExpirationDate/shareWithExpirationDate.feature:21](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingExpirationDate/shareWithExpirationDate.feature#L21) -### [share indicator in files are not shown until sharing sidebar is opened](https://github.com/owncloud/web/issues/4167) +### [No share indicators inside share jail](https://github.com/owncloud/web/issues/6894) - [webUISharingInternalUsersSharingIndicator/shareWithUsers.feature:100](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingInternalUsersSharingIndicator/shareWithUsers.feature#L100) - [webUISharingInternalUsersSharingIndicator/shareWithUsers.feature:121](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingInternalUsersSharingIndicator/shareWithUsers.feature#L121) - [webUISharingPublicManagement/publicLinkIndicator.feature:64](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingPublicManagement/publicLinkIndicator.feature#L64) - [webUISharingPublicManagement/publicLinkIndicator.feature:81](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingPublicManagement/publicLinkIndicator.feature#L81) - [webUISharingPublicManagement/publicLinkIndicator.feature:98](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingPublicManagement/publicLinkIndicator.feature#L98) -### [Copy private link option not available](https://github.com/owncloud/ocis/issues/1409) +### [Scoped links](https://github.com/owncloud/web/issues/6844) - [webUIFilesCopy/copyPrivateLinks.feature:20](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIFilesCopy/copyPrivateLinks.feature#L20) - [webUIFilesCopy/copyPrivateLinks.feature:21](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIFilesCopy/copyPrivateLinks.feature#L21) @@ -111,12 +108,12 @@ Other free text and markdown formatting can be used elsewhere in the document if - [webUIRestrictSharing/restrictSharing.feature:40](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIRestrictSharing/restrictSharing.feature#L40) - [webUIRestrictSharing/restrictSharing.feature:56](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIRestrictSharing/restrictSharing.feature#L56) -### [First request with a recreated user returns a 401 error](https://github.com/owncloud/ocis/issues/1675) +### [Searching sharee with displayname](https://github.com/owncloud/ocis/issues/547) - [webUISharingAutocompletion/shareAutocompletion.feature:128](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingAutocompletion/shareAutocompletion.feature#L128) - [webUISharingAutocompletion/shareAutocompletion.feature:141](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingAutocompletion/shareAutocompletion.feature#L141) ### [No occ command in ocis](https://github.com/owncloud/ocis/issues/1317) -### [First request with a recreated user returns a 401 error](https://github.com/owncloud/ocis/issues/1675) +### [Searching sharee with displayname](https://github.com/owncloud/ocis/issues/547) - [webUISharingAutocompletion/shareAutocompletion.feature:76](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingAutocompletion/shareAutocompletion.feature#L76) - [webUISharingAutocompletion/shareAutocompletion.feature:115](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingAutocompletion/shareAutocompletion.feature#L115) - [webUISharingAutocompletion/shareAutocompletion.feature:154](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingAutocompletion/shareAutocompletion.feature#L154) @@ -187,8 +184,6 @@ Other free text and markdown formatting can be used elsewhere in the document if - [webUIMoveFilesFolders/moveFolders.feature:72](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIMoveFilesFolders/moveFolders.feature#L72) - [webUIFilesActionMenu/versions.feature:93](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIFilesActionMenu/versions.feature#L93) -### [Accepting different shares with same filename from different users overwrites one file](https://github.com/owncloud/ocis/issues/713) -- [webUISharingAcceptShares/acceptShares.feature:228](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingAcceptShares/acceptShares.feature#L228) ### [Share not created with default permissions](https://github.com/owncloud/ocis/issues/1277) - [webUISharingFolderAdvancedPermissionsGroups/shareAdvancePermissionsGroup.feature:60](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingFolderAdvancedPermissionsGroups/shareAdvancePermissionsGroup.feature#L60) @@ -252,12 +247,12 @@ Other free text and markdown formatting can be used elsewhere in the document if ### [Different path for shares inside folder](https://github.com/owncloud/ocis/issues/1231) -### [Expiration date set is not implemented in user share](https://github.com/owncloud/ocis/issues/1250) +### [Implement expiration date for shares](https://github.com/owncloud/ocis/issues/1250) - [webUISharingInternalGroups/shareWithGroups.feature:255](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingInternalGroups/shareWithGroups.feature#L255) - [webUISharingInternalGroups/shareWithGroups.feature:307](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingInternalGroups/shareWithGroups.feature#L307) - [webUISharingInternalGroups/shareWithGroups.feature:308](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingInternalGroups/shareWithGroups.feature#L308) -### [Sharing Indicator difference](https://github.com/owncloud/ocis/issues/1949) +### [No share indicators inside share jail](https://github.com/owncloud/web/issues/6894) - [webUISharingInternalGroupsSharingIndicator/shareWithGroups.feature:61](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingInternalGroupsSharingIndicator/shareWithGroups.feature#L61) - [webUISharingInternalGroupsSharingIndicator/shareWithGroups.feature:20](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingInternalGroupsSharingIndicator/shareWithGroups.feature#L20) @@ -283,6 +278,7 @@ Other free text and markdown formatting can be used elsewhere in the document if ### [Propfind response to trashbin endpoint is different in ocis](https://github.com/owncloud/product/issues/186) ### [restoring a file from "Deleted files" (trashbin) is not possible if the original folder does not exist any-more](https://github.com/owncloud/web/issues/1753) - [webUITrashbinRestore/trashbinRestore.feature:138](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUITrashbinRestore/trashbinRestore.feature#L138) +- [webUIFilesSearch/search.feature:175](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIFilesSearch/search.feature#L175) ### [Conflict / overwrite issues with TUS](https://github.com/owncloud/ocis/issues/1294) - [webUIUpload/uploadFileGreaterThanQuotaSize.feature:12](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIUpload/uploadFileGreaterThanQuotaSize.feature#L12) @@ -296,7 +292,7 @@ Other free text and markdown formatting can be used elsewhere in the document if ### [Browser session deleted user should not be valid for newly created user of same name](https://github.com/owncloud/ocis/issues/904) - [webUILogin/openidLogin.feature:60](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUILogin/openidLogin.feature#L60) -### [Moving files in a shared folder causes errors but succeeds](https://github.com/owncloud/ocis/issues/873) +### [Moving files in a shared folder causes errors but succeeds](https://github.com/owncloud/ocis/issues/873) // todo - [webUIMoveFilesFolders/moveFiles.feature:139](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIMoveFilesFolders/moveFiles.feature#L139) ### [no checkbox for share while using advanced permissions as role](https://github.com/owncloud/web/issues/5461) diff --git a/tests/acceptance/features/webUIFilesSearch/search.feature b/tests/acceptance/features/webUIFilesSearch/search.feature index 8364ecc6d4e..a646dc2b3a2 100644 --- a/tests/acceptance/features/webUIFilesSearch/search.feature +++ b/tests/acceptance/features/webUIFilesSearch/search.feature @@ -101,10 +101,13 @@ Feature: Search Scenario: Search for a re-shared file - Given user "Brian" has been created with default attributes and without skeleton files in the server + Given the setting "shareapi_auto_accept_share" of app "core" has been set to "no" in the server + And the administrator has set the default folder for received shares to "Shares" in the server + And user "Brian" has been created with default attributes and without skeleton files in the server And user "Brian" has uploaded file "lorem.txt" to "lorem.txt" in the server And user "Brian" has shared file "/lorem.txt" with user "user0" in the server - And user "user0" has shared file "/lorem.txt" with user "Alice" in the server + And user "user0" has accepted the share "Shares//lorem.txt" offered by user "Brian" in the server + And user "user0" has shared file "/Shares/lorem.txt" with user "Alice" in the server When the user reloads the current page of the webUI And the user searches for "lorem" using the webUI Then file "lorem.txt" should be listed on the webUI @@ -161,7 +164,7 @@ Feature: Search Then folder "not deleted folder" should be listed on the webUI And folder "deleted folder" should not be listed on the webUI - + Scenario: Search for favorited folder in favorites page Given user "Alice" has created folder "favorite folder" in the server And user "Alice" has created folder "not favorite folder" in the server diff --git a/tests/acceptance/features/webUIPreview/mediaPreview.feature b/tests/acceptance/features/webUIPreview/mediaPreview.feature index 08b98f25cb6..883f3cb8284 100644 --- a/tests/acceptance/features/webUIPreview/mediaPreview.feature +++ b/tests/acceptance/features/webUIPreview/mediaPreview.feature @@ -141,7 +141,8 @@ Scenario Outline: preview of image files with preview app is possible @issue-5324 Scenario: Open jpeg file with preview app in shared-with-others page - Given user "Brian" has uploaded file "testavatar.jpeg" to "testavatar.jpeg" in the server + Given user "Brian" has been created with default attributes and without skeleton files in the server + And user "Brian" has uploaded file "testavatar.jpeg" to "testavatar.jpeg" in the server And user "Brian" has shared file "testavatar.jpeg" with user "Alice" with "all" permissions in the server And user "Brian" has logged in using the webUI And the user browses to the shared-with-others page @@ -150,7 +151,8 @@ Scenario Outline: preview of image files with preview app is possible @issue-5324 Scenario: Open jpeg file with preview app in shared-with-me page - Given user "Brian" has uploaded file "testavatar.jpeg" to "testavatar.jpeg" in the server + Given user "Brian" has been created with default attributes and without skeleton files in the server + And user "Brian" has uploaded file "testavatar.jpeg" to "testavatar.jpeg" in the server And user "Brian" has shared file "testavatar.jpeg" with user "Alice" with "all" permissions in the server And user "Alice" has accepted the share "testavatar.jpeg" offered by user "Brian" in the server And user "Alice" has logged in using the webUI diff --git a/tests/acceptance/features/webUISharingAcceptShares/acceptShares.feature b/tests/acceptance/features/webUISharingAcceptShares/acceptShares.feature index 3728beab33e..e322fcb9f41 100644 --- a/tests/acceptance/features/webUISharingAcceptShares/acceptShares.feature +++ b/tests/acceptance/features/webUISharingAcceptShares/acceptShares.feature @@ -224,7 +224,7 @@ Feature: accept/decline shares coming from internal users And the user opens folder "Shares" using the webUI Then file "lorem.txt" should be listed on the webUI - @ocis-issue-713 + @skipOnOCIS Scenario: receive shares with same name from different users, accept one by one Given user "Carol" has been created with default attributes and without skeleton files in the server And user "Carol" has created folder "/simple-folder" in the server diff --git a/tests/acceptance/features/webUISharingAutocompletion/shareAutocompletion.feature b/tests/acceptance/features/webUISharingAutocompletion/shareAutocompletion.feature index fe9c3119a2c..46e4f44a0f1 100644 --- a/tests/acceptance/features/webUISharingAutocompletion/shareAutocompletion.feature +++ b/tests/acceptance/features/webUISharingAutocompletion/shareAutocompletion.feature @@ -52,7 +52,7 @@ Feature: Autocompletion of share-with names But only users and groups that contain the string "fi" in their name or displayname should be listed in the autocomplete list on the webUI And the users own name should not be listed in the autocomplete list on the webUI - @issue-ocis-1675 + Scenario: autocompletion for a pattern that does not match any user or group Given user "regularuser" has created folder "simple-folder" in the server And user "regularuser" has logged in using the webUI @@ -62,7 +62,7 @@ Feature: Autocompletion of share-with names When the user types "doesnotexist" in the share-with-field Then the autocomplete list should not be displayed on the webUI - @issue-ocis-1675 + Scenario: autocompletion when minimum characters is the default (2) and not enough characters are typed Given user "regularuser" has created folder "simple-folder" in the server And user "regularuser" has logged in using the webUI @@ -72,7 +72,7 @@ Feature: Autocompletion of share-with names When the user types "u" in the share-with-field Then the autocomplete list should not be displayed on the webUI - @issue-ocis-1675 @issue-ocis-1317 + @issue-ocis-1317 Scenario: autocompletion when minimum characters is increased and not enough characters are typed Given the administrator has set the minimum characters for sharing autocomplete to "4" in the server And user "regularuser" has created folder "simple-folder" in the server @@ -111,7 +111,7 @@ Feature: Autocompletion of share-with names When the user types "fi" in the share-with-field Then "group" "fi" should be listed in the autocomplete list on the webUI - @issue-ocis-1675 @issue-ocis-1317 + @issue-ocis-1317 Scenario: autocompletion when increasing the minimum characters for sharing autocomplete Given the administrator has set the minimum characters for sharing autocomplete to "3" in the server And user "regularuser" has created folder "simple-folder" in the server @@ -124,7 +124,7 @@ Feature: Autocompletion of share-with names But only users and groups that contain the string "use" in their name or displayname should be listed in the autocomplete list on the webUI And the users own name should not be listed in the autocomplete list on the webUI - @issue-ocis-1675 + Scenario: autocompletion of a pattern that matches regular existing users but also a user with whom the item is already shared (folder) Given user "regularuser" has created folder "simple-folder" in the server And user "regularuser" has logged in using the webUI @@ -137,7 +137,7 @@ Feature: Autocompletion of share-with names But only users and groups that contain the string "user" in their name or displayname should be listed in the autocomplete list on the webUI And the users own name should not be listed in the autocomplete list on the webUI - @issue-ocis-1675 + Scenario: autocompletion of a pattern that matches regular existing users but also a user with whom the item is already shared (file) Given user "regularuser" has created file "data.zip" in the server And user "regularuser" has logged in using the webUI @@ -150,7 +150,7 @@ Feature: Autocompletion of share-with names But only users and groups that contain the string "user" in their name or displayname should be listed in the autocomplete list on the webUI And the users own name should not be listed in the autocomplete list on the webUI - @issue-ocis-1675 @issue-ocis-1317 + @issue-ocis-1317 Scenario: autocompletion of a pattern that matches regular existing groups but also a group with whom the item is already shared (folder) Given the administrator has set the minimum characters for sharing autocomplete to "2" in the server And user "regularuser" has created folder "simple-folder" in the server @@ -164,7 +164,7 @@ Feature: Autocompletion of share-with names But only users and groups that contain the string "fi" in their name or displayname should be listed in the autocomplete list on the webUI And the users own name should not be listed in the autocomplete list on the webUI - @issue-ocis-1675 @issue-ocis-1317 + @issue-ocis-1317 Scenario: autocompletion of a pattern that matches regular existing groups but also a group with whom the item is already shared (file) Given the administrator has set the minimum characters for sharing autocomplete to "2" in the server And user "regularuser" has created file "data.zip" in the server diff --git a/tests/acceptance/features/webUISharingInternalUsersSharingIndicator/shareWithUsers.feature b/tests/acceptance/features/webUISharingInternalUsersSharingIndicator/shareWithUsers.feature index c152cf11497..d538d01c893 100644 --- a/tests/acceptance/features/webUISharingInternalUsersSharingIndicator/shareWithUsers.feature +++ b/tests/acceptance/features/webUISharingInternalUsersSharingIndicator/shareWithUsers.feature @@ -104,8 +104,8 @@ Feature: Sharing files and folders with internal users And user "Alice" has shared folder "simple-folder" with user "Brian" in the server And user "Brian" has accepted the share "Shares/simple-folder" offered by user "Alice" in the server And user "Brian" has shared folder "Shares/simple-folder/simple-empty-folder" with user "Carol" in the server - When user "Brian" has logged in using the webUI - And the user opens folder "Shares" using the webUI + And user "Brian" has logged in using the webUI + When the user opens folder "Shares" using the webUI And the user opens the sharing sidebar for folder "simple-folder" Then the following resources should have share indicators on the webUI | fileName | expectedIndicators | diff --git a/tests/acceptance/features/webUISharingNotifications/notificationLink.feature b/tests/acceptance/features/webUISharingNotifications/notificationLink.feature index 0fbe4628a32..f69db35253c 100644 --- a/tests/acceptance/features/webUISharingNotifications/notificationLink.feature +++ b/tests/acceptance/features/webUISharingNotifications/notificationLink.feature @@ -14,10 +14,11 @@ Feature: Display notifications when receiving a share and follow embedded links | Brian | And user "Brian" has logged in using the webUI - @smokeTest @issue-5227 @issue-ocis-14 + @smokeTest @issue-ocis-14 Scenario: notification link redirection in case a share is pending Given user "Alice" has created folder "simple-folder" in the server And user "Alice" has shared folder "/simple-folder" with user "Brian" in the server + And user "Brian" has accepted the share "Shares/simple-folder" offered by user "Alice" in the server When the user re-logs in as "Brian" using the webUI And the user follows the link of following share from notification using the webUI | resource | simple-folder |