File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
electron/critical-path/database
web/critical-path/database Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -131,10 +131,12 @@ test
131
131
} ;
132
132
// Verify that user can add SSH tunnel with Password for OSS Cluster database
133
133
await myRedisDatabasePage . AddRedisDatabaseDialog . addStandaloneSSHDatabase ( sshDbClusterPass , sshWithPass ) ;
134
- // should be deleted after https://redislabs.atlassian.net/browse/RI-5995
134
+ //TODO should be deleted after https://redislabs.atlassian.net/browse/RI-5995
135
135
await t . wait ( 6000 ) ;
136
136
await myRedisDatabasePage . clickOnDBByName ( sshDbClusterPass . databaseName ) ;
137
-
137
+ if ( ! await browserPage . plusAddKeyButton . exists ) {
138
+ await myRedisDatabasePage . clickOnDBByName ( sshDbClusterPass . databaseName ) ;
139
+ }
138
140
//verify that db is added and profiler works
139
141
await t . click ( browserPage . Profiler . expandMonitor ) ;
140
142
await t . click ( browserPage . Profiler . startMonitorButton ) ;
Original file line number Diff line number Diff line change @@ -192,9 +192,12 @@ test
192
192
} ;
193
193
// Verify that user can add SSH tunnel with Password for OSS Cluster database
194
194
await myRedisDatabasePage . AddRedisDatabaseDialog . addStandaloneSSHDatabase ( sshDbClusterPass , sshWithPass ) ;
195
- // should be deleted after https://redislabs.atlassian.net/browse/RI-5995
195
+ // TODO should be deleted after https://redislabs.atlassian.net/browse/RI-5995
196
196
await t . wait ( 6000 )
197
197
await myRedisDatabasePage . clickOnDBByName ( sshDbClusterPass . databaseName ) ;
198
+ if ( ! await browserPage . plusAddKeyButton . exists ) {
199
+ await myRedisDatabasePage . clickOnDBByName ( sshDbClusterPass . databaseName ) ;
200
+ }
198
201
await Common . checkURLContainsText ( 'browser' ) ;
199
202
} ) ;
200
203
You can’t perform that action at this time.
0 commit comments