@camunda/e2e-test-suite 0.0.176 → 0.0.178

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.
@@ -20,6 +20,9 @@ class PlayPage {
20
20
  await (0, test_1.expect)(this.completeJobButton).toBeVisible({
21
21
  timeout: maxWaitTimeSeconds,
22
22
  });
23
+ await (0, test_1.expect)(this.completeJobButton).toBeEnabled({
24
+ timeout: maxWaitTimeSeconds,
25
+ });
23
26
  }
24
27
  async clickCompleteJobButton() {
25
28
  await this.completeJobButton.click();
@@ -64,7 +67,9 @@ class PlayPage {
64
67
  });
65
68
  }
66
69
  async waitForProcessToBeCompleted() {
67
- await (0, test_1.expect)(this.page.getByRole('heading', { name: 'Scenario recorded!' })).toBeVisible({ timeout: maxWaitTimeSeconds });
70
+ await (0, test_1.expect)(this.page.getByText('Completed')).toBeVisible({
71
+ timeout: maxWaitTimeSeconds,
72
+ });
68
73
  }
69
74
  }
70
75
  exports.PlayPage = PlayPage;
@@ -481,9 +481,14 @@ _8_7_1.test.describe('Web Modeler User Flow Tests', () => {
481
481
  await _8_7_1.test.step('Log in with Second User and Navigate to Cross Component Test project as Collaborator', async () => {
482
482
  await (0, UtilitiesPage_1.clickInvitationLinkInEmail)(page, id);
483
483
  await (0, sleep_1.sleep)(60000);
484
- await loginPage.login({
484
+ await (0, UtilitiesPage_1.loginWithRetry)(page, loginPage, {
485
485
  username: emailAddress,
486
486
  password: password,
487
+ }, 1000);
488
+ await appsPage.clickCamundaApps();
489
+ await appsPage.clickModeler();
490
+ await (0, test_1.expect)(modelerHomePage.modelerPageBanner).toBeVisible({
491
+ timeout: 120000,
487
492
  });
488
493
  await (0, UtilitiesPage_1.assertLocatorVisibleWithRetry)(modelerHomePage, modelerHomePage.crossComponentProjectFolder, 'Cross Component Test Project', 60000, 5);
489
494
  });
@@ -492,7 +497,7 @@ _8_7_1.test.describe('Web Modeler User Flow Tests', () => {
492
497
  await settingsPage.clickLogoutButton();
493
498
  });
494
499
  await _8_7_1.test.step('Navigate to Web Modeler as Project Admin', async () => {
495
- await loginPage.login(testUser);
500
+ await (0, UtilitiesPage_1.loginWithRetry)(page, loginPage, testUser, 1000);
496
501
  await appsPage.clickCamundaApps();
497
502
  await appsPage.clickModeler();
498
503
  await (0, test_1.expect)(modelerHomePage.modelerPageBanner).toBeVisible({
@@ -14,7 +14,8 @@ SM_8_9_1.test.describe('Console User Flow Tests', () => {
14
14
  await (0, _setup_1.captureScreenshot)(page, testInfo);
15
15
  await (0, _setup_1.captureFailureVideo)(page, testInfo);
16
16
  });
17
- (0, SM_8_9_1.test)('Custom Tags', async ({ consoleHomePage, clusterPage }) => {
17
+ //Skipped due to bug 5140: https://github.com/camunda/camunda-platform-helm/issues/5140
18
+ SM_8_9_1.test.skip('Custom Tags', async ({ consoleHomePage, clusterPage }) => {
18
19
  await SM_8_9_1.test.step('Navigate to Clusters', async () => {
19
20
  await consoleHomePage.clickClusters();
20
21
  });
@@ -26,7 +27,8 @@ SM_8_9_1.test.describe('Console User Flow Tests', () => {
26
27
  await clusterPage.assertCustomTagsAreVisible(defaultTags);
27
28
  });
28
29
  });
29
- (0, SM_8_9_1.test)('Custom Properties', async ({ consoleHomePage, clusterPage, clusterDetailsPage, page, }) => {
30
+ //Skipped due to bug 5140: https://github.com/camunda/camunda-platform-helm/issues/5140
31
+ SM_8_9_1.test.skip('Custom Properties', async ({ consoleHomePage, clusterPage, clusterDetailsPage, page, }) => {
30
32
  await SM_8_9_1.test.step('Navigate to Cluster Details', async () => {
31
33
  await consoleHomePage.clickClusters();
32
34
  await clusterPage.clickClusterLink();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/e2e-test-suite",
3
- "version": "0.0.176",
3
+ "version": "0.0.178",
4
4
  "description": "End-to-end test helpers for Camunda 8",
5
5
  "repository": {
6
6
  "type": "git",