@digital-ai/devops-page-object-release 0.0.0-snapshot-20260121111815 → 0.0.0-snapshot-20260121121759
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.
- package/CHANGELOG.md +1 -1
- package/dist/main.js +13 -4
- package/dist/main.js.map +1 -1
- package/dist/module.js +13 -4
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/module.js
CHANGED
|
@@ -9452,11 +9452,20 @@ class $4444bee76761dfb1$export$f14c0e3f98d164c0 extends (0, $9626bc9256ce31f7$ex
|
|
|
9452
9452
|
//await this.waitForKeycloakLogin();
|
|
9453
9453
|
const usernameInput = this.page.locator('input[name="username"]');
|
|
9454
9454
|
await usernameInput.fill(userName);
|
|
9455
|
-
|
|
9456
|
-
|
|
9457
|
-
await (
|
|
9458
|
-
|
|
9455
|
+
// 🔥 Force Keycloak to enable password
|
|
9456
|
+
await usernameInput.dispatchEvent("input");
|
|
9457
|
+
await usernameInput.dispatchEvent("change");
|
|
9458
|
+
await usernameInput.dispatchEvent("blur");
|
|
9459
|
+
// PASSWORD
|
|
9460
|
+
const passwordInput = this.page.locator('input[name="password"]');
|
|
9461
|
+
await passwordInput.waitFor({
|
|
9462
|
+
state: "attached",
|
|
9463
|
+
timeout: 15000
|
|
9459
9464
|
});
|
|
9465
|
+
await (0, $hOLA6$expect)(passwordInput).toBeEnabled({
|
|
9466
|
+
timeout: 15000
|
|
9467
|
+
});
|
|
9468
|
+
await passwordInput.focus();
|
|
9460
9469
|
await passwordInput.fill(password);
|
|
9461
9470
|
} else {
|
|
9462
9471
|
await this.page.getByPlaceholder("User").fill(userName);
|