@digital-ai/devops-page-object-release 0.0.0-snapshot-20260121072057 → 0.0.0-snapshot-20260121075301
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 +10 -11
- package/dist/main.js.map +1 -1
- package/dist/module.js +10 -11
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/module.js
CHANGED
|
@@ -9444,21 +9444,20 @@ class $4444bee76761dfb1$export$f14c0e3f98d164c0 extends (0, $9626bc9256ce31f7$ex
|
|
|
9444
9444
|
const testEnv = undefined ?? "local";
|
|
9445
9445
|
await this.page.goto("./");
|
|
9446
9446
|
if (testEnv === "saas") {
|
|
9447
|
-
await this.page.locator("
|
|
9448
|
-
|
|
9449
|
-
|
|
9450
|
-
await this.page.locator("#password").fill(password, {
|
|
9447
|
+
await this.page.locator('input[name="username"]').fill(userName);
|
|
9448
|
+
const passwordInput = this.page.locator("#password");
|
|
9449
|
+
await (0, $hOLA6$expect)(passwordInput).toBeVisible({
|
|
9451
9450
|
timeout: 10000
|
|
9452
9451
|
});
|
|
9452
|
+
await passwordInput.click();
|
|
9453
|
+
await passwordInput.fill(password);
|
|
9453
9454
|
} else {
|
|
9454
|
-
await this.page.getByPlaceholder("User").fill(userName
|
|
9455
|
-
|
|
9456
|
-
});
|
|
9457
|
-
await this.page.getByPlaceholder("Password").fill(password, {
|
|
9458
|
-
timeout: 10000
|
|
9459
|
-
});
|
|
9455
|
+
await this.page.getByPlaceholder("User").fill(userName);
|
|
9456
|
+
await this.page.getByPlaceholder("Password").fill(password);
|
|
9460
9457
|
}
|
|
9461
|
-
await this.page.
|
|
9458
|
+
await this.page.getByRole("button", {
|
|
9459
|
+
name: /log in|sign in/i
|
|
9460
|
+
}).click();
|
|
9462
9461
|
//await expect(this.page).toHaveTitle('Digital.ai Release');
|
|
9463
9462
|
//await this.page.locator('input#username').fill(userName, { timeout: 1000 });
|
|
9464
9463
|
//await this.page.locator('input#password').fill(password, { timeout: 10000 });
|