Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tests-only] tests to demonstrate issue #720 #722

Merged
merged 2 commits into from
Oct 22, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions ocis/tests/acceptance/expected-failures-on-OCIS-storage.txt
Original file line number Diff line number Diff line change
Expand Up @@ -396,8 +396,6 @@ apiShareManagementBasicToShares/createShareToSharesFolder.feature:498
apiShareManagementBasicToShares/createShareToSharesFolder.feature:501
apiShareManagementBasicToShares/deleteShareFromShares.feature:28
apiShareManagementBasicToShares/deleteShareFromShares.feature:29
apiShareManagementBasicToShares/deleteShareFromShares.feature:43
apiShareManagementBasicToShares/deleteShareFromShares.feature:44
apiShareManagementBasicToShares/deleteShareFromShares.feature:89
apiShareManagementBasicToShares/deleteShareFromShares.feature:163
apiShareManagementBasicToShares/deleteShareFromShares.feature:164
Expand All @@ -416,6 +414,12 @@ apiShareManagementBasicToShares/excludeGroupFromReceivingSharesToSharesFolder.fe
apiShareManagementBasicToShares/excludeGroupFromReceivingSharesToSharesFolder.feature:153
apiShareManagementBasicToShares/excludeGroupFromReceivingSharesToSharesFolder.feature:154
#
# https://github.com/owncloud/ocis/issues/720 shares are mounted into /Shares folder even after the sharer deletes the collaborator
# https://github.com/owncloud/ocis/issues/721 deleting share response does not contain `data` field
#
apiShareManagementBasicToShares/deleteShareFromShares.feature:43
apiShareManagementBasicToShares/deleteShareFromShares.feature:44
#
# https://github.com/owncloud/product/issues/203 file_target in share response
#
apiShareManagementBasicToShares/createShareToSharesFolder.feature:367
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -400,8 +400,6 @@ apiShareManagementBasicToShares/createShareToSharesFolder.feature:498
apiShareManagementBasicToShares/createShareToSharesFolder.feature:501
apiShareManagementBasicToShares/deleteShareFromShares.feature:28
apiShareManagementBasicToShares/deleteShareFromShares.feature:29
apiShareManagementBasicToShares/deleteShareFromShares.feature:43
apiShareManagementBasicToShares/deleteShareFromShares.feature:44
apiShareManagementBasicToShares/deleteShareFromShares.feature:89
apiShareManagementBasicToShares/deleteShareFromShares.feature:163
apiShareManagementBasicToShares/deleteShareFromShares.feature:164
Expand All @@ -420,6 +418,12 @@ apiShareManagementBasicToShares/excludeGroupFromReceivingSharesToSharesFolder.fe
apiShareManagementBasicToShares/excludeGroupFromReceivingSharesToSharesFolder.feature:153
apiShareManagementBasicToShares/excludeGroupFromReceivingSharesToSharesFolder.feature:154
#
# https://github.com/owncloud/ocis/issues/720 shares are mounted into /Shares folder even after the sharer deletes the collaborator
# https://github.com/owncloud/ocis/issues/721 deleting share response does not contain `data` field
#
apiShareManagementBasicToShares/deleteShareFromShares.feature:43
apiShareManagementBasicToShares/deleteShareFromShares.feature:44
#
# https://github.com/owncloud/product/issues/207 Response is empty when accepting a share
#
apiShareManagementBasicToShares/createShareToSharesFolder.feature:342
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
@api @files_sharing-app-required @issue-ocis-reva-243
Feature: sharing

@issue-ocis-reva-356
@issue-ocis-720 @issue-ocis-721
# after fixing all issues delete this Scenario and use the one from oC10 core
Scenario Outline: delete a share
Given user "Alice" has been created with default attributes and without skeleton files
And user "Alice" has uploaded file with content "ownCloud test text file 0" to "/textfile0.txt"
And user "Brian" has been created with default attributes and without skeleton files
And using OCS API version "<ocs_api_version>"
And user "Alice" has shared file "textfile0.txt" with user "Brian"
And user "Brian" has accepted share "/textfile0.txt" offered by user "Alice"
When user "Alice" deletes the last share using the sharing API
Then the OCS status code should be "<ocs_status_code>"
And the HTTP status code should be "200"
When user "Brian" requests "/remote.php/dav/files" with "PROPFIND" using basic auth
Then the HTTP status code should be "500"
Examples:
| ocs_api_version | ocs_status_code |
| 1 | 100 |
Expand Down