Skip to content

Commit

Permalink
remove acceptance tests with @skipOnOcis, @Skip and @notToImplementOn…
Browse files Browse the repository at this point in the history
…Ocis (#10416)
  • Loading branch information
saw-jan authored Jan 29, 2024
1 parent d3b029c commit ab14a47
Show file tree
Hide file tree
Showing 22 changed files with 6 additions and 1,258 deletions.
28 changes: 0 additions & 28 deletions .drone.star
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ config = {
],
"suites": {
"oCISBasic": [
"webUIPrivateLinks",
"webUIPreview",
"webUILogin",
],
Expand All @@ -121,7 +120,6 @@ config = {
],
"oCISFiles5": [
"webUIFilesCopy",
"webUIFilesActionMenu",
"webUITextEditor",
],
"oCISSharingInternal1": [
Expand All @@ -138,8 +136,6 @@ config = {
],
"oCISSharingAutocompletionResharing": [
"webUISharingAutocompletion",
"webUIResharing1",
"webUIResharing2",
],
"oCISSharingPerm1": [
"webUISharingPermissionsUsers",
Expand All @@ -156,7 +152,6 @@ config = {
"webUISharingPublicBasic",
],
"oCISSharingPublic2": [
"webUISharingPublicExpire",
"webUISharingPublicManagement",
],
"oCISSharingPublic3": [
Expand Down Expand Up @@ -189,40 +184,18 @@ config = {
"build": True,
}

# UI Test Suites
# These list contains all the test suites that are present
# When adding new test suites, make sure to update these lists
rootSharingTestSuites = [
"webUIResharingToRoot",
"webUISharingAcceptSharesToRoot",
"webUISharingInternalGroupsToRoot",
"webUISharingInternalGroupsToRootEdgeCases",
"webUISharingInternalGroupsToRootSharingIndicator",
"webUISharingInternalUsersToRoot",
"webUISharingInternalUsersToRootBlacklisted",
"webUISharingInternalUsersToRootCollaborator",
"webUISharingInternalUsersToRootPreviews",
"webUISharingInternalUsersToRootShareWithPage",
"webUISharingInternalUsersToRootSharingIndicator",
"webUISharingPermissionToRoot",
]

basicTestSuites = [
"webUICreateFilesFolders",
"webUIDeleteFilesFolders",
"webUIFiles",
"webUIFilesActionMenu",
"webUIFilesCopy",
"webUIFilesDetails",
"webUIFilesList",
"webUILogin",
"webUIMoveFilesFolders",
"webUIPreview",
"webUIPrivateLinks",
"webUIRenameFiles",
"webUIRenameFolders",
"webUIResharing1",
"webUIResharing2",
"webUISharingAcceptShares",
"webUISharingAutocompletion",
"webUISharingFilePermissionMultipleUsers",
Expand All @@ -240,7 +213,6 @@ basicTestSuites = [
"webUISharingPermissionsUsers",
"webUISharingPublicBasic",
"webUISharingPublicDifferentRoles",
"webUISharingPublicExpire",
"webUISharingPublicManagement",
"webUITextEditor",
"webUITrashbinDelete",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Other free text and markdown formatting can be used elsewhere in the document if
- [webUILogin/openidLogin.feature:60](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUILogin/openidLogin.feature#L60)

### [Share additional info](https://github.com/owncloud/ocis/issues/1253)
- [webUISharingInternalUsersShareWithPage/shareWithUsers.feature:126](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingInternalUsersShareWithPage/shareWithUsers.feature#L126)
- [webUISharingInternalUsersShareWithPage/shareWithUsers.feature:115](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingInternalUsersShareWithPage/shareWithUsers.feature#L115)

### [Different path for shares inside folder](https://github.com/owncloud/ocis/issues/1231)

Expand All @@ -32,7 +32,7 @@ Other free text and markdown formatting can be used elsewhere in the document if
- [webUISharingPublicManagement/shareByPublicLink.feature:24](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingPublicManagement/shareByPublicLink.feature#L24)

### [Uploading folders does not work in files-drop](https://github.com/owncloud/web/issues/2443)
- [webUISharingPublicDifferentRoles/shareByPublicLinkDifferentRoles.feature:265](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingPublicDifferentRoles/shareByPublicLinkDifferentRoles.feature#L265)
- [webUISharingPublicDifferentRoles/shareByPublicLinkDifferentRoles.feature:263](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingPublicDifferentRoles/shareByPublicLinkDifferentRoles.feature#L263)

### [Resources cannot be locked under ocis](https://github.com/owncloud/ocis/issues/1284)
- [webUIWebdavLockProtection/delete.feature:33](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIWebdavLockProtection/delete.feature#L33)
Expand All @@ -52,4 +52,4 @@ Other free text and markdown formatting can be used elsewhere in the document if
- [webUIUpload/upload.feature:43](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIUpload/upload.feature#L43)

### [PROPFIND to sub-folder of a shared resources with same name gives 404](https://github.com/owncloud/ocis/issues/3859)
- [webUISharingAcceptShares/acceptShares.feature:105](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingAcceptShares/acceptShares.feature#L105)
- [webUISharingAcceptShares/acceptShares.feature:88](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingAcceptShares/acceptShares.feature#L88)

This file was deleted.

76 changes: 0 additions & 76 deletions tests/acceptance/features/webUIFilesActionMenu/versions.feature

This file was deleted.

21 changes: 0 additions & 21 deletions tests/acceptance/features/webUIFilesCopy/copy.feature
Original file line number Diff line number Diff line change
Expand Up @@ -84,27 +84,6 @@ Feature: copy files and folders
And as "Alice" file "simple-folder/simple-empty-folder/data.zip" should exist in the server
And as "Alice" file "simple-folder/data.zip" should exist in the server

@issue-6892 @issue-6896 @notToImplementOnOCIS
Scenario: copy a file into another folder with no change permission
Given user "Alice" has created file "lorem.txt" in the server
And user "Brian" has been created with default attributes and without skeleton files in the server
And user "Brian" has created folder "simple-folder" in the server
And user "Brian" has shared folder "simple-folder" with user "Alice" with "read" permissions in the server
And user "Alice" has logged in using the webUI
When the user tries to copy file "lorem.txt" into folder "Shares/simple-folder" using the webUI
Then as "Alice" file "Shares/simple-folder/lorem.txt" should not exist in the server


@issue-6892 @issue-ocis-1328 @issue-6896 @notToImplementOnOCIS
Scenario: copy a folder into another folder with no change permission
Given user "Alice" has created folder "simple-empty-folder" in the server
And user "Brian" has been created with default attributes and without skeleton files in the server
And user "Brian" has created folder "simple-folder" in the server
And user "Brian" has shared folder "simple-folder" with user "Alice" with "read" permissions in the server
And user "Alice" has logged in using the webUI
When the user tries to copy folder "simple-empty-folder" into folder "Shares/simple-folder" using the webUI
Then as "Alice" file "Shares/simple-folder/simple-empty-folder" should not exist in the server


Scenario: copy a folder into the same folder
Given user "Alice" has created folder "simple-empty-folder" in the server
Expand Down

This file was deleted.

Loading

0 comments on commit ab14a47

Please sign in to comment.