Skip to content

Commit

Permalink
Merge pull request #38914 from owncloud/skip-async-tests
Browse files Browse the repository at this point in the history
[Tests-Only] skip tests for async file operations in ocis
  • Loading branch information
phil-davis authored Jun 30, 2021
2 parents c8e8aea + 2e4281e commit 008fe2f
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 10 deletions.
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

0 comments on commit 008fe2f

Please sign in to comment.