File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
pageObjects/components/bottom-panel
critical-path/triggers-and-functions Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ export class Cli {
167
167
*/
168
168
async getWarningMessageText ( command : string ) : Promise < string > {
169
169
170
- const executedCommand = await this . cliCommandExecuted . withExactText ( command ) ;
170
+ const executedCommand = await this . cliCommandExecuted . withExactText ( command ) ;
171
171
return await executedCommand . nextSibling ( 0 ) . textContent ;
172
172
}
173
173
@@ -176,6 +176,6 @@ export class Cli {
176
176
* @param index index of the command in the CLI, by default is the last one
177
177
*/
178
178
async getExecutedCommandTextByIndex ( index = - 1 ) : Promise < string > {
179
- return await this . cliCommandExecuted . nth ( index ) . textContent ;
179
+ return await this . cliCommandExecuted . nth ( index ) . textContent ;
180
180
}
181
181
}
Original file line number Diff line number Diff line change 6
6
TriggersAndFunctionsLibrariesPage
7
7
} from '../../../pageObjects' ;
8
8
import { commonUrl , ossStandaloneRedisGears } from '../../../helpers/conf' ;
9
- import { rte } from '../../../helpers/constants' ;
9
+ import { rte } from '../../../helpers/constants' ;
10
10
import { DatabaseAPIRequests } from '../../../helpers/api/api-database' ;
11
11
import { Common } from '../../../helpers/common' ;
12
12
Original file line number Diff line number Diff line change 50
50
51
51
// Verify that user can not see the import Cloud databases on the Auto-discovery flow for docker build
52
52
await t . click ( welcomePage . addDbAutoBtn ) ;
53
+ // Verify that when SSO flag disabled - Use Cloud API Keys displayed not as dropdown
53
54
await t . expect ( myRedisDatabasePage . AddRedisDatabase . useCloudAccount . exists ) . notOk ( 'Use Cloud Account accordion displayed for docker build' ) ;
54
55
await t . expect ( myRedisDatabasePage . AddRedisDatabase . useCloudKeys . exists ) . notOk ( 'Use Cloud Keys accordion displayed for docker build' ) ;
55
56
} ) ;
79
80
await t . expect ( welcomePage . importCloudDbBtn . exists ) . ok ( 'Import Cloud database button not displayed when SSO feature enabled' ) ;
80
81
81
82
await t . click ( welcomePage . addDbAutoBtn ) ;
83
+ // Verify that RE Cloud auto-discovery options Use Cloud Account and Use Cloud API Keys are displayed on Welcome screen
82
84
await t . expect ( myRedisDatabasePage . AddRedisDatabase . useCloudAccount . exists ) . ok ( 'Use Cloud Account accordion not displayed when SSO feature enabled' ) ;
83
85
await t . expect ( myRedisDatabasePage . AddRedisDatabase . useCloudKeys . exists ) . ok ( 'Use Cloud Keys accordion not displayed when SSO feature enabled' ) ;
84
86
} ) ;
You can’t perform that action at this time.
0 commit comments