@digital-ai/devops-page-object-release 0.0.0-snapshot-20260121070533 → 0.0.0-snapshot-20260121074448
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 +7 -13
- package/dist/main.js.map +1 -1
- package/dist/module.js +7 -13
- 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,15 @@ 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("input#password").fill(password, {
|
|
9451
|
-
timeout: 10000
|
|
9452
|
-
});
|
|
9447
|
+
await this.page.locator('input[name="username"]').fill(userName);
|
|
9448
|
+
await this.page.locator('input[name="password"]').fill(password);
|
|
9453
9449
|
} else {
|
|
9454
|
-
await this.page.getByPlaceholder("User").fill(userName
|
|
9455
|
-
|
|
9456
|
-
});
|
|
9457
|
-
await this.page.getByPlaceholder("Password").fill(password, {
|
|
9458
|
-
timeout: 10000
|
|
9459
|
-
});
|
|
9450
|
+
await this.page.getByPlaceholder("User").fill(userName);
|
|
9451
|
+
await this.page.getByPlaceholder("Password").fill(password);
|
|
9460
9452
|
}
|
|
9461
|
-
await this.page.
|
|
9453
|
+
await this.page.getByRole("button", {
|
|
9454
|
+
name: /log in|sign in/i
|
|
9455
|
+
}).click();
|
|
9462
9456
|
//await expect(this.page).toHaveTitle('Digital.ai Release');
|
|
9463
9457
|
//await this.page.locator('input#username').fill(userName, { timeout: 1000 });
|
|
9464
9458
|
//await this.page.locator('input#password').fill(password, { timeout: 10000 });
|