File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
tests/e2e/tests/web/critical-path/url-handling Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 36
36
await t . navigateTo ( generateLink ( connectUrlParams ) ) ;
37
37
await t . expect ( await myRedisDatabasePage . AddRedisDatabase . disabledDatabaseInfo . nth ( 0 ) . getAttribute ( 'title' ) ) . contains ( host , 'Wrong host value' ) ;
38
38
await t . expect ( await myRedisDatabasePage . AddRedisDatabase . disabledDatabaseInfo . nth ( 1 ) . getAttribute ( 'title' ) ) . contains ( port , 'Wrong port value' ) ;
39
- await t . click ( await myRedisDatabasePage . AddRedisDatabase . addRedisDatabaseButton ) ;
39
+ await t . click ( myRedisDatabasePage . AddRedisDatabase . addRedisDatabaseButton ) ;
40
40
// wait for db is added
41
- await t . wait ( 3_000 ) ;
41
+ await t . wait ( 10_000 ) ;
42
42
await t . expect ( await workbenchPage . closeEnablementPage . exists ) . ok ( 'Redirection to Workbench tutorial is not correct' ) ;
43
43
} ) ;
44
44
70
70
} ;
71
71
72
72
await t . navigateTo ( generateLink ( connectUrlParams ) ) ;
73
- await t . wait ( 7_000 ) ;
73
+ await t . wait ( 15_000 ) ;
74
74
await t . expect ( await workbenchPage . closeEnablementPage . exists ) . ok ( 'Redirection to Workbench tutorial is not correct' ) ;
75
75
76
76
//Verify that the same db is not added
77
77
await t . navigateTo ( generateLink ( connectUrlParams ) ) ;
78
- await t . click ( await workbenchPage . NavigationPanel . myRedisDBButton ) ;
78
+ await t . click ( workbenchPage . NavigationPanel . myRedisDBButton ) ;
79
79
await t . expect ( browserPage . notification . exists ) . notOk ( { timeout : 10000 } ) ;
80
80
await t . expect ( await myRedisDatabasePage . dbNameList . child ( 'span' ) . withExactText ( databaseName ) . count ) . eql ( 2 , 'the same db is added twice' ) ;
81
81
} ) ;
You can’t perform that action at this time.
0 commit comments