@digital-ai/devops-page-object-release 0.0.0-snapshot-20260122153133 → 0.0.0-snapshot-20260123071528
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 +2 -2
- package/dist/main.js.map +1 -1
- package/dist/module.js +3 -3
- 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
|
@@ -10327,7 +10327,6 @@ class $258749e0671c845a$export$f14c0e3f98d164c0 extends (0, $f8721861c660dd88$ex
|
|
|
10327
10327
|
* @param password
|
|
10328
10328
|
*/ async login(userName, password) {
|
|
10329
10329
|
await this.page.goto("./");
|
|
10330
|
-
const localPassword = this.page.getByPlaceholder("Password");
|
|
10331
10330
|
if (this.page.url().includes("/auth/realms")) {
|
|
10332
10331
|
const usernameInput = this.page.locator('input[name="username"]');
|
|
10333
10332
|
await usernameInput.waitFor({
|
|
@@ -10343,7 +10342,7 @@ class $258749e0671c845a$export$f14c0e3f98d164c0 extends (0, $f8721861c660dd88$ex
|
|
|
10343
10342
|
await passwordInput.fill(password);
|
|
10344
10343
|
} else {
|
|
10345
10344
|
await this.page.getByPlaceholder("User").fill(userName);
|
|
10346
|
-
await
|
|
10345
|
+
await this.page.getByPlaceholder("Password").fill(password);
|
|
10347
10346
|
}
|
|
10348
10347
|
await this.page.getByRole("button", {
|
|
10349
10348
|
name: /log in|sign in/i
|
|
@@ -11233,6 +11232,7 @@ const $6998c6a53a9eb4fa$var$JIRA_ISSUE_API_URL = "https://digitalai.atlassian.ne
|
|
|
11233
11232
|
function $6998c6a53a9eb4fa$var$encodeBasicAuth() {
|
|
11234
11233
|
const username = $kKeXs$process.env.TEST_USERNAME;
|
|
11235
11234
|
const password = $kKeXs$process.env.TEST_PASSWORD;
|
|
11235
|
+
$kKeXs$process.stderr.write(`[ENV CHECK] TEST_USERNAME=${username ? "FOUND" : "MISSING"}, ` + `TEST_PASSWORD=${password ? "FOUND" : "MISSING"}\n`);
|
|
11236
11236
|
if (!username || !password) throw new Error("Missing TEST_USERNAME or TEST_PASSWORD in environment variables");
|
|
11237
11237
|
return $6998c6a53a9eb4fa$require$Buffer.from(`${username}:${password}`).toString("base64");
|
|
11238
11238
|
}
|