Skip to content

Commit

Permalink
Removed duplicated scenario
Browse files Browse the repository at this point in the history
Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com>
  • Loading branch information
kiranparajuli589 committed Aug 23, 2022
1 parent dc0c3f2 commit 26a61e6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .drone.env
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# The test runner source for API tests
CORE_COMMITID=809f7256bdea4cd3dee45dfd5cd078542f4c55cf
CORE_COMMITID=f79fbff0a0d129df7b6ec20bc202665c4fda5fad
CORE_BRANCH=master

# The test runner source for UI tests
Expand Down
3 changes: 2 additions & 1 deletion tests/acceptance/expected-failures-API-on-OCIS-storage.md
Original file line number Diff line number Diff line change
Expand Up @@ -581,13 +581,14 @@ cannot share a folder with create permission
- [apiShareOperationsToShares2/uploadToShare.feature:211](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiShareOperationsToShares2/uploadToShare.feature#L211)

#### [not possible to move file into a received folder](https://github.com/owncloud/ocis/issues/764)

- [apiShareManagementBasicToShares/createShareToSharesFolder.feature:500](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiShareManagementBasicToShares/createShareToSharesFolder.feature#L500)
- [apiShareOperationsToShares1/changingFilesShare.feature:25](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiShareOperationsToShares1/changingFilesShare.feature#L25)
- [apiShareOperationsToShares1/changingFilesShare.feature:26](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiShareOperationsToShares1/changingFilesShare.feature#L26)
- [apiShareOperationsToShares1/changingFilesShare.feature:110](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiShareOperationsToShares1/changingFilesShare.feature#L110)
- [apiShareOperationsToShares1/changingFilesShare.feature:111](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiShareOperationsToShares1/changingFilesShare.feature#L111)
- [apiShareOperationsToShares1/changingFilesShare.feature:131](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiShareOperationsToShares1/changingFilesShare.feature#L131)
- [apiShareOperationsToShares1/changingFilesShare.feature:132](https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiShareOperationsToShares1/changingFilesShare.feature#L132)
-

Scenario Outline: Moving a file into a shared folder as the sharee and as the sharer

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,5 @@ The expected failures in this file are from features in the owncloud/ocis repo.
- [apiSpaces/changeSpaces.feature:221](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiSpaces/changeSpaces.feature#L221)

#### [not possible to move file into a received folder](https://github.com/owncloud/ocis/issues/764)
- [apiSpaces/changingFilesShare.feature:12](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiSpaces/changingFilesShare.feature#L12)
- [apiSpaces/changingFilesShare.feature:46](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiSpaces/changingFilesShare.feature#L46)
- [apiSpaces/changingFilesShare.feature:67](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiSpaces/changingFilesShare.feature#L67)
- [apiSpaces/changingFilesShare.feature:33](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiSpaces/changingFilesShare.feature#L33)
- [apiSpaces/changingFilesShare.feature:54](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiSpaces/changingFilesShare.feature#L54)
13 changes: 0 additions & 13 deletions tests/acceptance/features/apiSpaces/changingFilesShare.feature
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,6 @@ Feature:
| Alice |
| Brian |

@issue-764
Scenario: Moving a file into a share as recipient
Given user "Alice" has created folder "/shared"
And user "Alice" has shared folder "/shared" with user "Brian"
And user "Brian" has accepted share "/shared" offered by user "Alice"
And user "Brian" has uploaded file with content "some data" to "/textfile0.txt"
When user "Brian" moves file "textfile0.txt" from space "Personal" to "shared/shared_file.txt" inside space "Shares Jail" using the WebDAV API
Then the HTTP status code should be "201"
And for user "Brian" folder "shared" of the space "Shares Jail" should contain these entries:
| shared_file.txt |
And for user "Alice" the space "Personal" should contain these entries:
| shared_file.txt |


Scenario: Moving files between shares by same user
And user "Alice" has created folder "share1"
Expand Down

0 comments on commit 26a61e6

Please sign in to comment.