Removed scenarios tagged with notToImplementOnOcis tag
This commit is contained in:
@@ -59,51 +59,6 @@ Feature: download file
|
||||
| dav_version |
|
||||
| spaces |
|
||||
|
||||
@smokeTest @notToImplementOnOCIS
|
||||
Scenario Outline: Downloading a file should serve security headers
|
||||
Given using <dav_version> DAV path
|
||||
When user "Alice" downloads file "/welcome.txt" using the WebDAV API
|
||||
Then the HTTP status code should be "200"
|
||||
And the following headers should be set
|
||||
| header | value |
|
||||
| Content-Disposition | attachment; filename*=UTF-8''welcome.txt; filename="welcome.txt" |
|
||||
| Content-Security-Policy | default-src 'none'; |
|
||||
| X-Content-Type-Options | nosniff |
|
||||
| X-Download-Options | noopen |
|
||||
| X-Frame-Options | SAMEORIGIN |
|
||||
| X-Permitted-Cross-Domain-Policies | none |
|
||||
| X-Robots-Tag | none |
|
||||
| X-XSS-Protection | 0 |
|
||||
And the downloaded content should start with "Welcome"
|
||||
Examples:
|
||||
| dav_version |
|
||||
| old |
|
||||
| new |
|
||||
|
||||
@notToImplementOnOCIS
|
||||
Scenario Outline: Doing a GET with a web login should work without CSRF token on the new backend
|
||||
Given using <dav_version> DAV path
|
||||
And user "Alice" has logged in to a web-style session
|
||||
When the client sends a "GET" to "/remote.php/dav/files/%username%/welcome.txt" of user "Alice" without requesttoken
|
||||
Then the HTTP status code should be "200"
|
||||
And the downloaded content should start with "Welcome"
|
||||
Examples:
|
||||
| dav_version |
|
||||
| old |
|
||||
| new |
|
||||
|
||||
@notToImplementOnOCIS
|
||||
Scenario Outline: Doing a GET with a web login should work with CSRF token on the new backend
|
||||
Given using <dav_version> DAV path
|
||||
And user "Alice" has logged in to a web-style session
|
||||
When the client sends a "GET" to "/remote.php/dav/files/%username%/welcome.txt" of user "Alice" with requesttoken
|
||||
Then the HTTP status code should be "200"
|
||||
And the downloaded content should start with "Welcome"
|
||||
Examples:
|
||||
| dav_version |
|
||||
| old |
|
||||
| new |
|
||||
|
||||
|
||||
Scenario Outline: Get the size of a file
|
||||
Given using <dav_version> DAV path
|
||||
@@ -339,4 +294,4 @@ Feature: download file
|
||||
Given user "Alice" has uploaded file "filesForUpload/zerobyte.txt" to "/zerobyte.txt"
|
||||
When user "Alice" downloads file "/zerobyte.txt" using the WebDAV API
|
||||
Then the HTTP status code should be "200"
|
||||
And the size of the downloaded file should be 0 bytes
|
||||
And the size of the downloaded file should be 0 bytes
|
||||
|
||||
Reference in New Issue
Block a user