File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
tests/e2e/pageObjects/components/myRedisDatabase Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -57,15 +57,15 @@ export class AddRedisDatabase {
57
57
// DROPDOWNS
58
58
caCertField = Selector ( '[data-testid=select-ca-cert]' , { timeout : 500 } ) ;
59
59
clientCertField = Selector ( '[data-testid=select-cert]' , { timeout : 500 } ) ;
60
- selectCompressor = Selector ( '[data-testid=select-compressor]' , { timeout : 500 } ) ;
60
+ selectCompressor = Selector ( '[data-testid=select-compressor]' , { timeout : 1000 } ) ;
61
61
// CHECKBOXES
62
62
useSSHCheckbox = Selector ( '[data-testid=use-ssh]~div' , { timeout : 500 } ) ;
63
63
dataCompressorCheckbox = Selector ( '[data-testid=showCompressor] ~ label' ) ;
64
64
// RADIO BUTTONS
65
65
sshPasswordRadioBtn = Selector ( '#password~div' , { timeout : 500 } ) ;
66
66
sshPrivateKeyRadioBtn = Selector ( '#privateKey~div' , { timeout : 500 } ) ;
67
67
// LABELS
68
- dataCompressorLabel = Selector ( '[data-testid=showCompressor] ~ label' , { timeout : 500 } ) ;
68
+ dataCompressorLabel = Selector ( '[data-testid=showCompressor] ~ label' , { timeout : 1000 } ) ;
69
69
70
70
/**
71
71
* Adding a new redis database
@@ -268,7 +268,7 @@ export class AddRedisDatabase {
268
268
*/
269
269
async setCompressorValue ( compressor : string ) {
270
270
271
- if ( ! this . selectCompressor . exists ) {
271
+ if ( ! await this . selectCompressor . exists ) {
272
272
await t . click ( this . dataCompressorLabel ) ;
273
273
}
274
274
await t . click ( this . selectCompressor ) ;
You can’t perform that action at this time.
0 commit comments