@camunda/e2e-test-suite 0.0.471 → 0.0.472
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -35,6 +35,10 @@ declare class NavigationPage {
|
|
|
35
35
|
username: string;
|
|
36
36
|
password: string;
|
|
37
37
|
}): Promise<void>;
|
|
38
|
+
goToOCAdmin(sleepTimeout?: number, credentials?: {
|
|
39
|
+
username: string;
|
|
40
|
+
password: string;
|
|
41
|
+
}): Promise<void>;
|
|
38
42
|
goToConsole(sleepTimeout?: number, credentials?: {
|
|
39
43
|
username: string;
|
|
40
44
|
password: string;
|
|
@@ -137,6 +137,9 @@ class NavigationPage {
|
|
|
137
137
|
async goToOCIdentity(sleepTimeout, credentials) {
|
|
138
138
|
await this.goTo(`${NORMALIZED_ORCHESTRATION_CONTEXT_PATH}/identity`, this.identityPageBanner, sleepTimeout, credentials);
|
|
139
139
|
}
|
|
140
|
+
async goToOCAdmin(sleepTimeout, credentials) {
|
|
141
|
+
await this.goTo(`${NORMALIZED_ORCHESTRATION_CONTEXT_PATH}/admin`, this.identityPageBanner, sleepTimeout, credentials);
|
|
142
|
+
}
|
|
140
143
|
async goToConsole(sleepTimeout, credentials) {
|
|
141
144
|
await this.goTo(CONSOLE_CONTEXT_PATH, this.consolePageBanner, sleepTimeout, credentials);
|
|
142
145
|
}
|
|
@@ -13,7 +13,12 @@ const env_1 = require("../../utils/env");
|
|
|
13
13
|
SM_8_9_1.test.describe.parallel('Smoke Tests', () => {
|
|
14
14
|
SM_8_9_1.test.beforeEach(async ({ navigationPage, managementIdentityPage, managementIdentityTenantPage, keycloakLoginPage, keycloakAdminPage, page, browser, loginPage, ocIdentityHomePage, ocIdentityRolesPage, }, testInfo) => {
|
|
15
15
|
if (process.env.IS_MIGRATION === 'true') {
|
|
16
|
-
|
|
16
|
+
if (process.env.IS_MT === 'true') {
|
|
17
|
+
await navigationPage.goToOCAdmin((testInfo.workerIndex + 1) * 1000);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
await navigationPage.goToOCIdentity((testInfo.workerIndex + 1) * 1000);
|
|
21
|
+
}
|
|
17
22
|
}
|
|
18
23
|
else {
|
|
19
24
|
console.log(`BeforeEach start: timeout = ${testInfo.timeout}`);
|