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] skip tests for async file operations in ocis #38914

Merged
merged 1 commit into from
Jun 30, 2021
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
6 changes: 3 additions & 3 deletions tests/acceptance/features/apiMain/checksums.feature
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ Feature: checksums
And user "Alice" should not see the following elements
| /myChunkedFile.txt |

@issue-ocis-reva-56
@issue-ocis-reva-56 @notToImplementOnOCIS
Scenario: Upload new dav chunked file using async MOVE where checksum matches
Given using new DAV path
And the administrator has enabled async operations
Expand All @@ -176,7 +176,7 @@ Feature: checksums
| fileId | /^[0-9a-z]{20,}$/ |
And the content of file "/myChunkedFile.txt" for user "Alice" should be "BBBBBCCCCC"

@issue-ocis-reva-56
@issue-ocis-reva-56 @notToImplementOnOCIS
Scenario: Upload new dav chunked file using async MOVE where checksum does not match
Given using new DAV path
And the administrator has enabled async operations
Expand All @@ -194,7 +194,7 @@ Feature: checksums
And user "Alice" should not see the following elements
| /myChunkedFile.txt |

@issue-ocis-reva-56
@issue-ocis-reva-56 @notToImplementOnOCIS
Scenario: Upload new dav chunked file using async MOVE where checksum does not match - retry with correct checksum
Given using new DAV path
And the administrator has enabled async operations
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @issue-ocis-reva-14
@api @issue-ocis-reva-14 @notToImplementOnOCIS
Feature: move (rename) file
As a user
I want to be able to move and rename files asynchronously
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @issue-ocis-reva-14
@api @issue-ocis-reva-14 @notToImplementOnOCIS
Feature: users cannot move (rename) a file to a blacklisted name
As an administrator
I want to be able to prevent users from moving (renaming) files to specified file names
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @issue-ocis-reva-56
@api @issue-ocis-reva-56 @notToImplementOnOCIS
Feature: upload file using new chunking
As a user
I want to be able to upload "large" files in chunks asynchronously
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Feature: users cannot upload a file to a blacklisted name
Given using OCS API version "1"
And user "Alice" has been created with default attributes and without skeleton files

@issue-ocis-reva-15
@issue-ocis-reva-15 @notToImplementOnOCIS
Scenario Outline: upload a file to a filename that is banned by default
Given using <dav_version> DAV path
When user "Alice" uploads file with content "uploaded content" to ".htaccess" using the WebDAV API
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @issue-ocis-reva-56
@api @issue-ocis-reva-56 @notToImplementOnOCIS
Feature: users cannot upload a file to a blacklisted name using new chunking
As an administrator
I want to be able to prevent users from uploading files to specified file names
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @issue-ocis-reva-56
@api @issue-ocis-reva-56 @notToImplementOnOCIS
Feature: users cannot upload a file to or into an excluded directory using new chunking
As an administrator
I want to be able to exclude directories (folders) from being processed. Any attempt to upload a file to one of those names should be refused.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Feature: users cannot upload a file to a blacklisted name using new chunking
And using new DAV path
And user "Alice" has been created with default attributes and without skeleton files

@notToImplementOnOCIS
Scenario: Upload a file to a filename that is banned by default using new chunking
When user "Alice" creates a new chunking upload with id "chunking-42" using the WebDAV API
And user "Alice" uploads new chunk file "1" with "AAAAA" to id "chunking-42" using the WebDAV API
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Feature: users cannot upload a file to a blacklisted name using old chunking
And using old DAV path
And user "Alice" has been created with default attributes and without skeleton files

@skipOnOcV10 @issue-36645
@skipOnOcV10 @issue-36645 @notToImplementOnOCIS
Scenario: Upload a file to a filename that is banned by default using old chunking
When user "Alice" uploads file "filesForUpload/textfile.txt" to "/.htaccess" in 3 chunks using the WebDAV API
Then the HTTP status code should be "403"
Expand Down