test: make remote.php configurable

test: build dav paths

test: fix paths

test: merge method args

test: add issue tags

test: add new expected failure file

test: merge expected-failure files before running tests
This commit is contained in:
Saw-jan
2024-10-21 16:57:58 +05:45
parent 273915506e
commit f86d137f87
100 changed files with 2484 additions and 2329 deletions
@@ -14,7 +14,7 @@ Feature: Search
And user "Alice" has created a folder "folderMain/SubFolder1/subFOLDER2" in space "project101"
And user "Alice" has uploaded a file inside space "project101" with content "some content" to "folderMain/SubFolder1/subFOLDER2/insideTheFolder.txt"
@issue-10329
Scenario Outline: user can search items inside project space
Given using <dav-path-version> DAV path
And user "Alice" has created a folder "AlicePersonal" in space "Personal"
@@ -42,7 +42,7 @@ Feature: Search
| new |
| spaces |
@issue-10329
Scenario Outline: user can search items inside personal space
Given using <dav-path-version> DAV path
And user "Alice" has created a folder "AlicePersonal" in space "Personal"
@@ -97,7 +97,7 @@ Feature: Search
| new |
| spaces |
@issue-10329
Scenario Outline: user can search hidden files
Given using <dav-path-version> DAV path
And user "Alice" has created a folder ".space" in space "project101"
@@ -172,20 +172,15 @@ Feature: Search
| new |
| spaces |
Scenario Outline: user can search project space by name
Given using <dav-path-version> DAV path
@issue-10329
Scenario: user can search project space by name
Given using spaces DAV path
When user "Alice" searches for '*project101*' using the WebDAV API
Then the HTTP status code should be "207"
And the search result should contain "1" entries
And for user "Alice" the search result should contain space "project101"
Examples:
| dav-path-version |
| old |
| new |
| spaces |
@issue-10329
Scenario Outline: user can search inside folder in space
Given using <dav-path-version> DAV path
When user "Alice" searches for "*folder*" inside folder "/folderMain" in space "project101" using the WebDAV API
@@ -203,7 +198,7 @@ Feature: Search
| new |
| spaces |
@issue-10329
Scenario Outline: search inside folder in shares
Given using <dav-path-version> DAV path
And user "Alice" has sent the following resource share invitation:
@@ -227,7 +222,7 @@ Feature: Search
| new |
| spaces |
@skipOnStable3.0
@issue-10329
Scenario Outline: search files inside the folder
Given using <dav-path-version> DAV path
And user "Alice" has uploaded file with content "hello world inside root" to "file1.txt"
@@ -248,7 +243,7 @@ Feature: Search
| new |
| spaces |
@issue-7114
@issue-7114 @issue-10329
Scenario Outline: search files inside the folder with white space character in its name
Given using <dav-path-version> DAV path
And user "Alice" has created folder "/New Folder"
@@ -266,7 +261,7 @@ Feature: Search
| new |
| spaces |
@issue-7114
@issue-7114 @issue-10329
Scenario Outline: search files with white space character in its name
Given using <dav-path-version> DAV path
And user "Alice" has created folder "/New Folder"
@@ -284,7 +279,7 @@ Feature: Search
| new |
| spaces |
@issue-enterprise-6000 @issue-7028 @issue-7092
@issue-enterprise-6000 @issue-7028 @issue-7092 @issue-10329
Scenario Outline: sharee cannot find resources that are not shared
Given using <dav-path-version> DAV path
And user "Alice" has created a folder "foo/sharedToBrian" in space "Alice Hansen"
@@ -308,7 +303,7 @@ Feature: Search
| new |
| spaces |
@issue-10329
Scenario Outline: search resources using different search patterns (KQL feature)
Given using spaces DAV path
And user "Alice" has created a folder "subfolder" in space "project101"
@@ -325,7 +320,7 @@ Feature: Search
| name:*der2 | /folderMain/SubFolder1/subFOLDER2 | patern 'name:'' |
| name:"*der2" | /folderMain/SubFolder1/subFOLDER2 | pattern 'name:""' (with quotes) |
@issue-7812 @issue-8442
@issue-7812 @issue-8442 @issue-10329
Scenario: try to search with invalid patterns
Given using spaces DAV path
And user "Alice" has uploaded file with content "test file" to "testFile.txt"
@@ -333,7 +328,7 @@ Feature: Search
Then the HTTP status code should be "400"
And the value of the item "/d:error/s:message" in the response should be "error: bad request: the expression can't begin from a binary operator: 'AND'"
@issue-10329
Scenario Outline: search a file globally (in all spaces)
Given using <dav-path-version> DAV path
And user "Alice" has created a folder "AlicePersonal" in space "Personal"