@@ -4,30 +4,21 @@ Feature: Search with Storage Browser
4
4
Given I'm running the example "ui/components/storage/storage-browser/default-auth"
5
5
6
6
@react
7
- Scenario : Basic search returns correct results
7
+ Scenario : Search folders and subfolders with matching results
8
8
When I type my "email" with status "CONFIRMED"
9
9
Then I type my password
10
10
Then I click the "Sign in" button
11
11
When I click the first button containing "public"
12
- Then I see the button containing "test+name "
12
+ Then I see the button containing "DoNotDeleteThisFolder_CanDeleteAllChildren "
13
13
When I see input with placeholder "Search current folder" and type "DO_NOT"
14
14
Then I click the "Search" button
15
15
Then I see the button containing "DO_NOT_DELETE"
16
- Then I do not see the button containing "test+name"
17
- # Verify clear returns to initial state
18
- When I click the button containing "Clear search"
19
- Then I see the button containing "test+name"
20
-
21
- @react
22
- Scenario : Search within sub-directories
23
- When I type my "email" with status "CONFIRMED"
24
- Then I type my password
25
- Then I click the "Sign in" button
26
- When I click the first button containing "public"
27
- When I see input with placeholder "Search current folder" and type "DELETE"
28
- Then I click the "Search" button
29
16
Then I do not see the button containing "DO_NOT_DELETE/DONT_DELETE_SUB"
17
+ Then I do not see the button containing "DoNotDeleteThisFolder_CanDeleteAllChildren"
18
+ # Verify clear returns to initial state
30
19
When I click the button containing "Clear search"
20
+ Then I see the button containing "DoNotDeleteThisFolder_CanDeleteAllChildren"
21
+ # Verify subfolder results
31
22
When I click the "Include Subfolders" checkbox
32
23
When I see input with placeholder "Search current folder" and type "DELETE"
33
24
Then I click the "Search" button
0 commit comments