@digital-ai/devops-page-object-release 0.0.0-snapshot-20260121110715 → 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-20260121110715
3
+ ## 0.0.0-snapshot-20260121121759
4
4
 
5
5
  ### Patch Changes
6
6
 
package/dist/main.js CHANGED
@@ -10386,11 +10386,22 @@ class $258749e0671c845a$export$f14c0e3f98d164c0 extends (0, $f8721861c660dd88$ex
10386
10386
  await this.page.goto("./");
10387
10387
  if (testEnv === "saas") {
10388
10388
  //await this.waitForKeycloakLogin();
10389
- await this.page.locator('input[name="username"]').fill(userName);
10390
- const passwordInput = this.page.locator('input[type="password"]');
10391
- await (0, $kKeXs$playwrighttest.expect)(passwordInput).toBeVisible({
10392
- timeout: 10000
10389
+ const usernameInput = this.page.locator('input[name="username"]');
10390
+ await usernameInput.fill(userName);
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
10393
10400
  });
10401
+ await (0, $kKeXs$playwrighttest.expect)(passwordInput).toBeEnabled({
10402
+ timeout: 15000
10403
+ });
10404
+ await passwordInput.focus();
10394
10405
  await passwordInput.fill(password);
10395
10406
  } else {
10396
10407
  await this.page.getByPlaceholder("User").fill(userName);