@camunda/e2e-test-suite 0.0.854 → 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.
@@ -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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/e2e-test-suite",
3
- "version": "0.0.854",
3
+ "version": "0.0.855",
4
4
  "description": "End-to-end test helpers for Camunda 8",
5
5
  "repository": {
6
6
  "type": "git",