@camunda/e2e-test-suite 0.0.88 → 0.0.89

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.
@@ -113,7 +113,7 @@ class NavigationPage {
113
113
  ? `${process.env.KEYCLOAK_URL}/auth`
114
114
  : '/auth';
115
115
  await this.page.goto(keycloakUrl);
116
- await (0, test_1.expect)(this.keyboardPageBanner).toBeVisible();
116
+ await (0, test_1.expect)(this.keyboardPageBanner).toBeVisible({ timeout: 30000 });
117
117
  }
118
118
  async goToOCIdentity(sleepTimeout, credentials) {
119
119
  await this.goTo(`${ORCHESTRATION_CONTEXT_PATH}/identity`, this.identityPageBanner, sleepTimeout, credentials);
@@ -150,7 +150,8 @@ class OperateProcessesPage {
150
150
  catch (err) {
151
151
  lastError = err instanceof Error ? err.message : err;
152
152
  await this.page.reload();
153
- await (0, sleep_1.sleep)(1000);
153
+ await this.page.waitForLoadState('networkidle');
154
+ await (0, sleep_1.sleep)(2000);
154
155
  }
155
156
  }
156
157
  throw new Error(`Failed to open instance "${processName}" after ${MAX_ATTEMPTS} attempts. Last error: ${String(lastError)}`);
@@ -83,7 +83,7 @@ SM_8_9_1.test.describe.parallel('Smoke Tests', () => {
83
83
  await SM_8_9_1.test.step('View Process Instance in Operate, complete User Task in Tasklist & assert process complete in Operate and Assert Process has been successfully imported in Optimize', async () => {
84
84
  await navigationPage.goToOperate();
85
85
  await operateHomePage.clickProcessesTab();
86
- await operateProcessesPage.clickProcessInstanceLink(processName);
86
+ await operateProcessesPage.clickProcessInstanceLink(processName, 'active');
87
87
  let result = await operateProcessInstancePage.assertEitherIncidentOrActiveIconVisible();
88
88
  (0, test_1.expect)(result).toBe('active');
89
89
  await navigationPage.goToTasklist();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/e2e-test-suite",
3
- "version": "0.0.88",
3
+ "version": "0.0.89",
4
4
  "description": "End-to-end test helpers for Camunda 8",
5
5
  "repository": {
6
6
  "type": "git",