@@ -11,7 +11,7 @@ const databaseHelper = new DatabaseHelper();
11
11
const databaseAPIRequests = new DatabaseAPIRequests ( ) ;
12
12
const chance = new Chance ( ) ;
13
13
14
- const moduleNameList = [ 'Redis Query Engine' , 'JSON' , 'Graph' , 'Time Series' , 'Bloom ' , 'Gears' , 'AI' ] ;
14
+ const moduleNameList = [ 'Redis Query Engine' , 'JSON' , 'Graph' , 'Time Series' , 'Probabilistic ' , 'Gears' , 'AI' ] ;
15
15
const moduleList = [ myRedisDatabasePage . moduleSearchIcon , myRedisDatabasePage . moduleJSONIcon , myRedisDatabasePage . moduleGraphIcon , myRedisDatabasePage . moduleTimeseriesIcon , myRedisDatabasePage . moduleBloomIcon , myRedisDatabasePage . moduleGearsIcon , myRedisDatabasePage . moduleAIIcon ] ;
16
16
const uniqueId = chance . string ( { length : 10 } ) ;
17
17
let database = {
@@ -42,7 +42,7 @@ test('Verify that user can see DB modules on DB list page for Standalone DB', as
42
42
// Verify that user can see the following sorting order: Search, JSON, Graph, TimeSeries, Bloom, Gears, AI for modules
43
43
const databaseLine = myRedisDatabasePage . dbNameList . withExactText ( database . databaseName ) . parent ( 'tr' ) ;
44
44
await t . expect ( databaseLine . visible ) . ok ( 'Database not found in db list' ) ;
45
- const moduleIcons = databaseLine . find ( '[data-testid^=Redi ]' ) ;
45
+ const moduleIcons = databaseLine . find ( '[data-testid*=_module ]' ) ;
46
46
const numberOfIcons = await moduleIcons . count ;
47
47
for ( let i = 0 ; i < numberOfIcons ; i ++ ) {
48
48
const moduleName = await moduleIcons . nth ( i ) . getAttribute ( 'data-testid' ) ;
0 commit comments