@digital-ai/devops-page-object-release 0.0.0-snapshot-20260121121759 → 0.0.0-snapshot-20260121125800

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/dist/module.js CHANGED
@@ -9452,20 +9452,11 @@ 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
- // 🔥 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
9455
+ await usernameInput.press("Tab"); // Move focus to next field
9456
+ const passwordInput = this.page.locator('input[type="password"]');
9457
+ await (0, $hOLA6$expect)(passwordInput).toBeVisible({
9458
+ timeout: 10000
9464
9459
  });
9465
- await (0, $hOLA6$expect)(passwordInput).toBeEnabled({
9466
- timeout: 15000
9467
- });
9468
- await passwordInput.focus();
9469
9460
  await passwordInput.fill(password);
9470
9461
  } else {
9471
9462
  await this.page.getByPlaceholder("User").fill(userName);