@camunda/e2e-test-suite 0.0.68 → 0.0.70
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.
|
@@ -5,6 +5,7 @@ const test_1 = require("@playwright/test");
|
|
|
5
5
|
const LoginPage_1 = require("./LoginPage");
|
|
6
6
|
const sleep_1 = require("../../utils/sleep");
|
|
7
7
|
const constants_1 = require("../../utils/constants");
|
|
8
|
+
const ORCHESTRATION_CONTEXT_PATH = process.env.ORCHESTRATION_CONTEXT_PATH || '/orchestration';
|
|
8
9
|
class NavigationPage {
|
|
9
10
|
page;
|
|
10
11
|
modelerPageBanner;
|
|
@@ -99,10 +100,10 @@ class NavigationPage {
|
|
|
99
100
|
await this.goTo('/modeler', this.modelerPageBanner, sleepTimeout, credentials);
|
|
100
101
|
}
|
|
101
102
|
async goToTasklist(sleepTimeout, credentials) {
|
|
102
|
-
await this.goTo(
|
|
103
|
+
await this.goTo(`${ORCHESTRATION_CONTEXT_PATH}/tasklist`, this.tasklistPageBanner, sleepTimeout, credentials);
|
|
103
104
|
}
|
|
104
105
|
async goToOperate(sleepTimeout, credentials) {
|
|
105
|
-
await this.goTo(
|
|
106
|
+
await this.goTo(`${ORCHESTRATION_CONTEXT_PATH}/operate`, this.operatePageBanner, sleepTimeout, credentials);
|
|
106
107
|
}
|
|
107
108
|
async goToOptimize(sleepTimeout, credentials) {
|
|
108
109
|
await this.goTo('/optimize', this.optimizePageBanner, sleepTimeout, credentials);
|
|
@@ -115,7 +116,7 @@ class NavigationPage {
|
|
|
115
116
|
await (0, test_1.expect)(this.keyboardPageBanner).toBeVisible();
|
|
116
117
|
}
|
|
117
118
|
async goToOCIdentity(sleepTimeout, credentials) {
|
|
118
|
-
await this.goTo(
|
|
119
|
+
await this.goTo(`${ORCHESTRATION_CONTEXT_PATH}/identity`, this.identityPageBanner, sleepTimeout, credentials);
|
|
119
120
|
}
|
|
120
121
|
async goToConsole(sleepTimeout, credentials) {
|
|
121
122
|
await this.goTo('/console', this.consolePageBanner, sleepTimeout, credentials);
|