File tree Expand file tree Collapse file tree 3 files changed +14
-1
lines changed Expand file tree Collapse file tree 3 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,10 @@ fixture `Browser - Specify Keys to Scan`
32
32
. beforeEach ( async ( ) => {
33
33
await databaseHelper . acceptLicenseTermsAndAddDatabaseApi ( ossStandaloneConfig ) ;
34
34
} )
35
- . afterEach ( async ( ) => {
35
+ . afterEach ( async t => {
36
+ await t . click ( myRedisDatabasePage . NavigationPanel . settingsButton ) ;
37
+ await t . click ( settingsPage . accordionAdvancedSettings ) ;
38
+ await settingsPage . changeKeysToScanValue ( '10000' ) ;
36
39
//Clear and delete database
37
40
await browserPage . Cli . sendCommandInCli ( `DEL ${ keys . join ( ' ' ) } ` ) ;
38
41
await databaseAPIRequests . deleteStandaloneDatabaseApi ( ossStandaloneConfig ) ;
Original file line number Diff line number Diff line change @@ -21,6 +21,11 @@ fixture `Settings`
21
21
. clientScripts ( { content : `(${ explicitErrorHandler . toString ( ) } )()` } )
22
22
. beforeEach ( async ( ) => {
23
23
await databaseHelper . acceptLicenseTerms ( ) ;
24
+ } )
25
+ . afterEach ( async t => {
26
+ await t . click ( myRedisDatabasePage . NavigationPanel . settingsButton ) ;
27
+ await t . click ( settingsPage . accordionAdvancedSettings ) ;
28
+ await settingsPage . changeKeysToScanValue ( '10000' ) ;
24
29
} ) ;
25
30
test ( 'Verify that user can customize a number of keys to scan in filters per key name or key type' , async t => {
26
31
// Go to Settings page
Original file line number Diff line number Diff line change @@ -21,6 +21,11 @@ fixture `Browser - Specify Keys to Scan`
21
21
. clientScripts ( { content : `(${ explicitErrorHandler . toString ( ) } )()` } )
22
22
. beforeEach ( async ( ) => {
23
23
await databaseHelper . acceptLicenseTerms ( ) ;
24
+ } )
25
+ . afterEach ( async t => {
26
+ await t . click ( myRedisDatabasePage . NavigationPanel . settingsButton ) ;
27
+ await t . click ( settingsPage . accordionAdvancedSettings ) ;
28
+ await settingsPage . changeKeysToScanValue ( '10000' ) ;
24
29
} ) ;
25
30
test ( 'Verify that the user not enter the value less than 500 - the system automatically applies min value if user enters less than min' , async t => {
26
31
// Go to Settings page
You can’t perform that action at this time.
0 commit comments