@@ -2,7 +2,8 @@ import { DatabaseHelper } from '../../../../helpers/database';
2
2
import { BrowserPage , WorkbenchPage } from '../../../../pageObjects' ;
3
3
import {
4
4
commonUrl ,
5
- ossStandaloneBigConfig , ossStandaloneConfig ,
5
+ ossStandaloneBigConfig ,
6
+ ossStandaloneConfig ,
6
7
ossStandaloneConfigEmpty ,
7
8
ossStandaloneRedisearch
8
9
} from '../../../../helpers/conf' ;
147
148
await t . expect ( actualItemsArray ) . eql ( expectedSortedByDESC ) ;
148
149
} ) ;
149
150
151
+ https://redislabs.atlassian.net/browse/RI-5131
150
152
test
151
153
. before ( async ( ) => {
152
154
await databaseHelper . acceptLicenseTermsAndAddDatabaseApi ( ossStandaloneConfig ) ;
@@ -167,17 +169,15 @@ test
167
169
`HSET ${ keyNames [ 1 ] } field value` ,
168
170
`HSET ${ keyNames [ 2 ] } field value`
169
171
] ;
170
-
171
- // Create 5 keys
172
172
await browserPage . Cli . sendCommandsInCli ( commands ) ;
173
173
await t . click ( browserPage . treeViewButton ) ;
174
- await browserPage . searchByKeyName ( `${ name } ${ additionalCharacter } *` ) ;
175
174
175
+ // Verify if there is only folder, a user can see keys inside
176
+ await browserPage . searchByKeyName ( `${ name } ${ additionalCharacter } *` ) ;
176
177
await verifyKeysDisplayingInTheList ( [ keyName1 , keyName2 ] , true ) ;
177
178
178
- await browserPage . searchByKeyName ( ` ${ name } ${ additionalCharacter } ` ) ;
179
-
179
+ // Verify if there are folder and key, a user can't see keys inside the folder
180
+ await browserPage . searchByKeyName ( ` ${ name } *` ) ;
180
181
await verifyKeysDisplayingInTheList ( [ keyName1 , keyName2 ] , false ) ;
181
-
182
182
} ) ;
183
183
0 commit comments