@@ -20,6 +20,11 @@ Feature: Search Files and Directories
20
20
Then response status code is 200
21
21
And the response contains a entity with the path "/richard/bla/wow.txt" that has key "name" with value "wow.txt"
22
22
23
+ Scenario : Successful interaction, searching for personal root folder
24
+ When user with token "Richard" searches for "Richard"
25
+ Then response status code is 200
26
+ And the response contains a entity with the path "/richard" that has key "name" with value "Richard"
27
+
23
28
Scenario : Successful interaction, found file in personal folder, ignore case
24
29
When user with token "Richard" searches for "WOW.TXT"
25
30
Then response status code is 200
@@ -65,7 +70,6 @@ Feature: Search Files and Directories
65
70
And the response contains a entity with the path "/richard/bla" that has key "fileSystemId" with value "42"
66
71
67
72
68
-
69
73
Scenario Outline : Search for <filename> with <search>
70
74
Given fileSystemItem with the fileSystemId 73 exists, has owner with userId 1234 and name "<filename>"
71
75
And fileSystemItem with the fileSystemId 42 is a folder and contains the fileSystemId 73
@@ -74,14 +78,14 @@ Feature: Search Files and Directories
74
78
And the response contains the file with fileSystemId 73 and name "<filename>"
75
79
76
80
Examples :
77
- | filename | search |
78
- | HansWurst | st |
79
- | Esel .txt | .txt |
80
- | Hinterh ältigesWiesel .wav | H ältiges |
81
- | HilfeHilfe | hilfe |
82
- | DuDummeSau | du |
83
- | NichtDasNagetier | Tier |
84
- | DuBauer | auer |
85
- | DasIstWahreMacht | d |
86
- | DIesESMALWerdeICHEuchBesiegen |DiesesMalWerdeIchEuchBesiegen |
87
- | filename | filename |
81
+ | filename | search |
82
+ | HansWurst | st |
83
+ | Esel .txt | .txt |
84
+ | Hinterh ältigesWiesel .wav | H ältiges |
85
+ | HilfeHilfe | hilfe |
86
+ | DuDummeSau | du |
87
+ | NichtDasNagetier | Tier |
88
+ | DuBauer | auer |
89
+ | DasIstWahreMacht | d |
90
+ | DIesESMALWerdeICHEuchBesiegen | DiesesMalWerdeIchEuchBesiegen |
91
+ | filename | filename |
0 commit comments