File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
tests/critical-path/memory-efficiency Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ export class BrowserPage {
124
124
removeFromHeadSelection = Selector ( '#HEAD' ) ;
125
125
selectedFilterTypeString = Selector ( '[data-testid=filter-option-type-selected-string]' ) ;
126
126
filterOptionType = Selector ( '[data-test-subj^=filter-option-type-]' ) ;
127
- filterByKeyTypeDropDown = Selector ( '[data-testid=filter-option-type-default]' ) ;
127
+ filterByKeyTypeDropDown = Selector ( '[data-testid=filter-option-type-default]' , { timeout : 500 } ) ;
128
128
filterOptionTypeSelected = Selector ( '[data-testid^=filter-option-type-selected]' ) ;
129
129
consumerOption = Selector ( '[data-testid=consumer-option]' ) ;
130
130
claimTimeOptionSelect = Selector ( '[data-testid=time-option-select]' ) ;
@@ -996,8 +996,7 @@ export class BrowserPage {
996
996
const regExp = new RegExp ( `${ i } 00` + '.' ) ;
997
997
await t
998
998
. expect ( scannedValueText ) . match ( regExp , `The database is not automatically scanned by ${ i } 000 keys` )
999
- . doubleClick ( this . scanMoreButton )
1000
- . expect ( this . progressKeyList . exists ) . ok ( 'Progress Bar is not displayed' ) ;
999
+ . click ( this . scanMoreButton ) ;
1001
1000
const scannedResults = Number ( ( await this . keysNumberOfResults . textContent ) . replace ( / \s / g, '' ) ) ;
1002
1001
await t . expect ( scannedResults ) . gt ( rememberedScanResults ) ;
1003
1002
}
Original file line number Diff line number Diff line change 74
74
. before ( async t => {
75
75
await acceptLicenseTermsAndAddDatabaseApi ( ossStandaloneRedisearch , ossStandaloneRedisearch . databaseName ) ;
76
76
// Create keys
77
- await populateHashWithFields ( 'localhost' , '8102' , keyToAddParameters2 ) ;
77
+ await populateHashWithFields ( ossStandaloneRedisearch . host , ossStandaloneRedisearch . port , keyToAddParameters2 ) ;
78
78
// Go to Analysis Tools page
79
79
await t . click ( myRedisDatabasePage . analysisPageButton ) ;
80
80
} )
You can’t perform that action at this time.
0 commit comments