File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
tests/e2e/tests/web/critical-path/url-handling Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 40
40
} ;
41
41
42
42
await t . navigateTo ( generateLink ( connectUrlParams ) ) ;
43
- await t . expect ( await myRedisDatabasePage . AddRedisDatabase . disabledDatabaseInfo . nth ( 0 ) . getAttribute ( 'title' ) ) . contains ( host , 'Wrong host value' ) ;
44
- await t . expect ( await myRedisDatabasePage . AddRedisDatabase . disabledDatabaseInfo . nth ( 1 ) . getAttribute ( 'title' ) ) . contains ( port , 'Wrong port value' ) ;
43
+ await t . expect ( myRedisDatabasePage . AddRedisDatabase . disabledDatabaseInfo . nth ( 0 ) . getAttribute ( 'title' ) ) . contains ( host , 'Wrong host value' ) ;
44
+ await t . expect ( myRedisDatabasePage . AddRedisDatabase . disabledDatabaseInfo . nth ( 1 ) . getAttribute ( 'title' ) ) . contains ( port , 'Wrong port value' ) ;
45
45
await t . click ( myRedisDatabasePage . AddRedisDatabase . addRedisDatabaseButton ) ;
46
46
// wait for db is added
47
47
// await t.wait(10_000);
48
- await t . expect ( await workbenchPage . closeEnablementPage . exists ) . ok ( 'Redirection to Workbench tutorial is not correct' ) ;
48
+ await t . expect ( workbenchPage . closeEnablementPage . exists ) . ok ( 'Redirection to Workbench tutorial is not correct' ) ;
49
49
} ) ;
50
50
51
51
test
77
77
78
78
await t . navigateTo ( generateLink ( connectUrlParams ) ) ;
79
79
// await t.wait(15_000);
80
- await t . expect ( await workbenchPage . closeEnablementPage . exists ) . ok ( 'Redirection to Workbench tutorial is not correct' ) ;
80
+ await t . expect ( workbenchPage . closeEnablementPage . exists ) . ok ( 'Redirection to Workbench tutorial is not correct' ) ;
81
81
82
82
//Verify that the same db is not added
83
83
await t . navigateTo ( generateLink ( connectUrlParams ) ) ;
84
84
await t . click ( workbenchPage . NavigationPanel . myRedisDBButton ) ;
85
85
await t . expect ( browserPage . notification . exists ) . notOk ( { timeout : 10000 } ) ;
86
- await t . expect ( await myRedisDatabasePage . dbNameList . child ( 'span' ) . withExactText ( databaseName ) . count ) . eql ( 2 , 'the same db is added twice' ) ;
86
+ await t . expect ( myRedisDatabasePage . dbNameList . child ( 'span' ) . withExactText ( databaseName ) . count ) . eql ( 2 , 'the same db is added twice' ) ;
87
87
} ) ;
You can’t perform that action at this time.
0 commit comments