File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
tests/e2e/tests/web/critical-path/database Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -110,9 +110,15 @@ test
110
110
sshPassphrase : 'test'
111
111
} ;
112
112
// Verify that if user have not entered any required value he can see that this field should be specified when hover over the button to add a database
113
+ if ( await welcomePage . addDbManuallyBtn . exists ) {
114
+ await t . click ( welcomePage . addDbManuallyBtn ) ;
115
+ }
116
+ else {
117
+ await t
118
+ . click ( myRedisDatabasePage . AddRedisDatabase . addDatabaseButton )
119
+ . click ( myRedisDatabasePage . AddRedisDatabase . addDatabaseManually ) ;
120
+ }
113
121
await t
114
- . click ( myRedisDatabasePage . AddRedisDatabase . addDatabaseButton )
115
- . click ( myRedisDatabasePage . AddRedisDatabase . addDatabaseManually )
116
122
. click ( myRedisDatabasePage . AddRedisDatabase . useSSHCheckbox )
117
123
. click ( myRedisDatabasePage . AddRedisDatabase . sshPrivateKeyRadioBtn )
118
124
. hover ( myRedisDatabasePage . AddRedisDatabase . addRedisDatabaseButton ) ;
You can’t perform that action at this time.
0 commit comments