@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
|
-
|
|
32
|
-
|
|
33
|
-
|
|
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
|
}
|