@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # @digital-ai/devops-page-object-release
2
2
 
3
- ## 0.0.0-snapshot-20260121111815
3
+ ## 0.0.0-snapshot-20260121121759
4
4
 
5
5
  ### Patch Changes
6
6
 
package/dist/main.js CHANGED
@@ -10388,11 +10388,20 @@ class $258749e0671c845a$export$f14c0e3f98d164c0 extends (0, $f8721861c660dd88$ex
10388
10388
  //await this.waitForKeycloakLogin();
10389
10389
  const usernameInput = this.page.locator('input[name="username"]');
10390
10390
  await usernameInput.fill(userName);
10391
- await usernameInput.press("Tab"); // Move focus to next field
10392
- const passwordInput = this.page.locator('input[type="password"]');
10393
- await (0, $kKeXs$playwrighttest.expect)(passwordInput).toBeVisible({
10394
- timeout: 10000
10391
+ // 🔥 Force Keycloak to enable password
10392
+ await usernameInput.dispatchEvent("input");
10393
+ await usernameInput.dispatchEvent("change");
10394
+ await usernameInput.dispatchEvent("blur");
10395
+ // PASSWORD
10396
+ const passwordInput = this.page.locator('input[name="password"]');
10397
+ await passwordInput.waitFor({
10398
+ state: "attached",
10399
+ timeout: 15000
10395
10400
  });
10401
+ await (0, $kKeXs$playwrighttest.expect)(passwordInput).toBeEnabled({
10402
+ timeout: 15000
10403
+ });
10404
+ await passwordInput.focus();
10396
10405
  await passwordInput.fill(password);
10397
10406
  } else {
10398
10407
  await this.page.getByPlaceholder("User").fill(userName);