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] Match getcontenttype starting with text/plain in test #39045

Merged
merged 1 commit into from
Jul 22, 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
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @issue-ocis-reva-57
@api
Feature: set file properties
As a user
I want to be able to set meta-information about files
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ Feature: get file properties
| /remote.php/dav/files/does-not-exist | Principal with name does-not-exist not found |
| /remote.php/dav/does-not-exist | File not found: does-not-exist in 'root' |

@issue-ocis-reva-57 @issue-ocis-reva-217
@issue-ocis-reva-217
Scenario: add, receive multiple custom meta properties to a file
Given user "Alice" has created folder "/TestFolder"
And user "Alice" has uploaded file with content "test data one" to "/TestFolder/test1.txt"
Expand All @@ -262,7 +262,7 @@ Feature: get file properties
| /TestFolder/test1.txt | status | HTTP/1.1 200 OK |

@issue-36920
@skipOnOcV10.3 @skipOnOcV10.4.0 @issue-ocis-reva-57 @issue-ocis-reva-217
@skipOnOcV10.3 @skipOnOcV10.4.0 @issue-ocis-reva-217
Scenario: add multiple properties to files inside a folder and do a propfind of the parent folder
Given user "Alice" has created folder "/TestFolder"
And user "Alice" has uploaded file with content "test data one" to "/TestFolder/test1.txt"
Expand All @@ -288,7 +288,7 @@ Feature: get file properties
| /TestFolder/test2.txt | testprop2 | DDDDD |
| /TestFolder/ | status | HTTP/1.1 404 Not Found |

@issue-ocis-reva-57

Scenario Outline: Propfind the last modified date of a folder using webdav api
Given using <dav_version> DAV path
And user "Alice" has created folder "/test"
Expand All @@ -301,7 +301,7 @@ Feature: get file properties
| old |
| new |

@issue-ocis-reva-57

Scenario Outline: Propfind the content type of a folder using webdav api
Given using <dav_version> DAV path
And user "Alice" has created folder "/test"
Expand All @@ -314,14 +314,14 @@ Feature: get file properties
| old |
| new |

@issue-ocis-reva-57

Scenario Outline: Propfind the content type of a file using webdav api
Given using <dav_version> DAV path
And user "Alice" has uploaded file with content "uploaded content" to "file.txt"
When user "Alice" gets the following properties of folder "file.txt" using the WebDAV API
| propertyName |
| d:getcontenttype |
Then the single response should contain a property "d:getcontenttype" with value "text/plain"
Then the single response should contain a property "d:getcontenttype" with value "text/plain.*"
Examples:
| dav_version |
| old |
Expand Down Expand Up @@ -363,7 +363,7 @@ Feature: get file properties
| old |
| new |

@issue-ocis-reva-57

Scenario Outline: Propfind the size of a folder using webdav api
Given using <dav_version> DAV path
And user "Alice" has created folder "/test"
Expand All @@ -376,7 +376,7 @@ Feature: get file properties
| old |
| new |

@issue-ocis-reva-57

Scenario Outline: Propfind the file id of a file using webdav api
Given using <dav_version> DAV path
And user "Alice" has uploaded file with content "uploaded content" to "file.txt"
Expand All @@ -389,7 +389,7 @@ Feature: get file properties
| old |
| new |

@issue-ocis-reva-57

Scenario Outline: Propfind the file id of a folder using webdav api
Given using <dav_version> DAV path
And user "Alice" has created folder "/test"
Expand All @@ -402,7 +402,7 @@ Feature: get file properties
| old |
| new |

@issue-ocis-reva-57

Scenario Outline: Propfind the owner display name of a file using webdav api
Given using <dav_version> DAV path
And user "Alice" has uploaded file with content "uploaded content" to "file.txt"
Expand All @@ -415,7 +415,7 @@ Feature: get file properties
| old |
| new |

@issue-ocis-reva-57

Scenario Outline: Propfind the owner display name of a folder using webdav api
Given using <dav_version> DAV path
And user "Alice" has created folder "/test"
Expand All @@ -428,7 +428,7 @@ Feature: get file properties
| old |
| new |

@issue-ocis-reva-57

Scenario Outline: Propfind the permissions on a file using webdav api
Given using <dav_version> DAV path
And user "Alice" has uploaded file with content "uploaded content" to "file.txt"
Expand All @@ -441,7 +441,7 @@ Feature: get file properties
| old |
| new |

@issue-ocis-reva-57

Scenario Outline: Propfind the permissions on a folder using webdav api
Given using <dav_version> DAV path
And user "Alice" has created folder "/test"
Expand Down