@camunda/e2e-test-suite 0.0.853 → 0.0.855

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.
@@ -222,7 +222,7 @@ class ModelerCreatePage {
222
222
  this.copyPublicLinkButton = page.getByRole('textbox', {
223
223
  name: 'Copy to clipboard',
224
224
  });
225
- this.closeButton = page.getByRole('button', { name: 'Close' });
225
+ this.closeButton = page.getByRole('button', { name: 'Close', exact: true });
226
226
  this.rbaEnabledDeployedDialog = page.getByRole('dialog', {
227
227
  name: 'Process successfully deployed',
228
228
  });
@@ -28,9 +28,13 @@ class KeycloakAdminPage {
28
28
  await this.page
29
29
  .locator('[data-ouia-component-id="OUIA-Generated-Button-control-1"]')
30
30
  .click();
31
- await this.page
32
- .getByText(process.env.KEYCLOAK_REALM || 'camunda-platform')
33
- .click();
31
+ // The realm search result renders after an async lookup, so a bare click
32
+ // races Playwright's default 10s action timeout — wait for it explicitly
33
+ // (matching clickAddUser/fillPassword's 30s waits elsewhere in this file)
34
+ // instead of relying on the click's own implicit wait.
35
+ const realmResult = this.page.getByText(process.env.KEYCLOAK_REALM || 'camunda-platform');
36
+ await (0, test_1.expect)(realmResult).toBeVisible({ timeout: 30000 });
37
+ await realmResult.click();
34
38
  const mainLocator = this.page.locator('#kc-main-content-page-container');
35
39
  await (0, test_1.expect)(mainLocator).toBeVisible();
36
40
  }
@@ -129,8 +129,7 @@ _8_9_1.test.describe('User Roles User Flow', () => {
129
129
  await modelerCreatePage.clickCloseButton();
130
130
  });
131
131
  });
132
- //Skipped due to bug 46344: https://github.com/camunda/camunda/issues/46344
133
- _8_9_1.test.skip('Analyst Role User Flow', async ({ page, modelerHomePage, appsPage, homePage, clusterPage, clusterDetailsPage, browser, consoleOrganizationsPage, settingsPage, operateHomePage, ocIdentityHomePage, taskPanelPage, optimizeHomePage, modelerCreatePage, }) => {
132
+ (0, _8_9_1.test)('Analyst Role User Flow', async ({ page, modelerHomePage, appsPage, homePage, clusterPage, clusterDetailsPage, browser, consoleOrganizationsPage, settingsPage, operateHomePage, ocIdentityHomePage, taskPanelPage, optimizeHomePage, modelerCreatePage, }) => {
134
133
  _8_9_1.test.slow();
135
134
  const randomString = await (0, _setup_1.generateRandomStringAsync)(3);
136
135
  const processName = 'User Roles User Flow' + randomString;
@@ -221,8 +220,7 @@ _8_9_1.test.describe('User Roles User Flow', () => {
221
220
  await modelerCreatePage.clickCloseButton();
222
221
  });
223
222
  });
224
- //Skipped due to bug 46344: https://github.com/camunda/camunda/issues/46344
225
- _8_9_1.test.skip('Admin Role User Flow', async ({ page, modelerHomePage, appsPage, homePage, clusterPage, clusterDetailsPage, browser, consoleOrganizationsPage, settingsPage, operateHomePage, ocIdentityHomePage, taskPanelPage, optimizeHomePage, modelerCreatePage, }) => {
223
+ (0, _8_9_1.test)('Admin Role User Flow', async ({ page, modelerHomePage, appsPage, homePage, clusterPage, clusterDetailsPage, browser, consoleOrganizationsPage, settingsPage, operateHomePage, ocIdentityHomePage, taskPanelPage, optimizeHomePage, modelerCreatePage, }) => {
226
224
  _8_9_1.test.slow();
227
225
  const randomString = await (0, _setup_1.generateRandomStringAsync)(3);
228
226
  const processName = 'User Roles User Flow' + randomString;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/e2e-test-suite",
3
- "version": "0.0.853",
3
+ "version": "0.0.855",
4
4
  "description": "End-to-end test helpers for Camunda 8",
5
5
  "repository": {
6
6
  "type": "git",