@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/CHANGELOG.md
CHANGED
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
|
-
|
|
10392
|
-
|
|
10393
|
-
await
|
|
10394
|
-
|
|
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);
|