Skip to content
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
3 changes: 3 additions & 0 deletions tests/acceptance/features/apiContract/propfind.feature
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ Feature: Propfind test
@issue-1523
Scenario: propfind response contains a restored folder with correct name
Given user "Alice" has created a folder "folderMain" in space "Personal"
And user "Alice" has marked folder "folderMain" as favorite from space "Personal"
And user "Alice" has deleted folder "folderMain"
And user "Alice" has created a folder "folderMain" in space "Personal"
When user "Alice" restores the folder with original path "/folderMain" to "/folderMain (1)" using the trashbin API
Expand All @@ -136,10 +137,12 @@ Feature: Propfind test
| oc:name | folderMain |
| oc:permissions | RDNVCKZP |
| oc:size | 0 |
| oc:favorite | 0 |
And as user "Alice" the PROPFIND response should contain a resource "folderMain (1)" with these key and value pairs:
| key | value |
| oc:fileid | %file_id_pattern% |
| oc:file-parent | %file_id_pattern% |
| oc:name | folderMain (1) |
| oc:permissions | RDNVCKZP |
| oc:size | 0 |
| oc:favorite | 1 |
1 change: 1 addition & 0 deletions tests/acceptance/features/apiContract/sharesReport.feature
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ Feature: REPORT request to Shares space
| oc:privatelink | %base_url%/f/[0-9a-z-$%]+ |
| d:getcontentlength | 34 |
| oc:remote-item-id | %file_id_pattern% |

When user "Brian" searches for "testavatar.jpg" using the WebDAV API
Then the HTTP status code should be "207"
And the following headers should match these regular expressions
Expand Down
4 changes: 4 additions & 0 deletions tests/acceptance/features/apiContract/spacesReport.feature
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Feature: REPORT request to project space
@issue-10329
Scenario: check the response of the searched file
Given user "Alice" has uploaded a file inside space "findData" with content "some content" to "testFile.txt"
And user "Alice" has marked file "testFile.txt" as favorite from space "findData"
When user "Alice" searches for "testFile.txt" using the WebDAV API
Then the HTTP status code should be "207"
And the search result of user "Alice" should contain only these entries:
Expand All @@ -30,6 +31,7 @@ Feature: REPORT request to project space
| oc:permissions | RDNVW |
| oc:privatelink | %base_url%/f/[0-9a-z-$%]+ |
| d:getcontentlength | 12 |
| oc:favorite | 1 |

@issue-10329
Scenario: check the response of the searched sub-file
Expand All @@ -54,6 +56,7 @@ Feature: REPORT request to project space
@issue-10329
Scenario: check the response of the searched folder
Given user "Alice" has created a folder "folderMain" in space "findData"
And user "Alice" has marked folder "folderMain" as favorite from space "findData"
When user "Alice" searches for "folderMain" using the WebDAV API
Then the HTTP status code should be "207"
And the search result of user "Alice" should contain only these entries:
Expand All @@ -69,6 +72,7 @@ Feature: REPORT request to project space
| oc:permissions | RDNVCK |
| oc:privatelink | %base_url%/f/[0-9a-z-$%]+ |
| oc:size | 0 |
| oc:favorite | 1 |

@issue-10329
Scenario: check the response of the searched sub-folder
Expand Down