@camunda/e2e-test-suite 0.0.470 → 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.
@@ -173,7 +173,7 @@ class PlayPage {
173
173
  async clickSaveScenarioButton() {
174
174
  await this.notifications
175
175
  .first()
176
- .waitFor({ state: 'hidden', timeout: 15000 })
176
+ .waitFor({ state: 'hidden', timeout: 60000 })
177
177
  .catch(() => { });
178
178
  const isModalVisible = await this.saveScenarioModal
179
179
  .isVisible()
@@ -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
  }
@@ -132,8 +132,7 @@ SM_8_7_1.test.describe('Deploy and run a process in Play', () => {
132
132
  await modelerCreatePage.clickSecondPlacedGateway();
133
133
  await (0, sleep_1.sleep)(5000);
134
134
  await modelerCreatePage.switchToPlay();
135
- await modelerCreatePage.clickContinueToPlay();
136
- await (0, sleep_1.sleep)(5000);
135
+ await modelerCreatePage.completePlayConfiguration();
137
136
  await playPage.clickStartInstanceButton();
138
137
  await playPage.waitForNextElementToBeActive('zeebe-user-task' + randomString + '1');
139
138
  await playPage.waitForCompleteJobButtonToBeAvailable();
@@ -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
- await navigationPage.goToOCIdentity((testInfo.workerIndex + 1) * 1000);
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}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/e2e-test-suite",
3
- "version": "0.0.470",
3
+ "version": "0.0.472",
4
4
  "description": "End-to-end test helpers for Camunda 8",
5
5
  "repository": {
6
6
  "type": "git",