@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/CHANGELOG.md
CHANGED
package/dist/main.js
CHANGED
|
@@ -10380,21 +10380,15 @@ class $258749e0671c845a$export$f14c0e3f98d164c0 extends (0, $f8721861c660dd88$ex
|
|
|
10380
10380
|
const testEnv = undefined ?? "local";
|
|
10381
10381
|
await this.page.goto("./");
|
|
10382
10382
|
if (testEnv === "saas") {
|
|
10383
|
-
await this.page.locator("
|
|
10384
|
-
|
|
10385
|
-
});
|
|
10386
|
-
await this.page.locator("input#password").fill(password, {
|
|
10387
|
-
timeout: 10000
|
|
10388
|
-
});
|
|
10383
|
+
await this.page.locator('input[name="username"]').fill(userName);
|
|
10384
|
+
await this.page.locator('input[name="password"]').fill(password);
|
|
10389
10385
|
} else {
|
|
10390
|
-
await this.page.getByPlaceholder("User").fill(userName
|
|
10391
|
-
|
|
10392
|
-
});
|
|
10393
|
-
await this.page.getByPlaceholder("Password").fill(password, {
|
|
10394
|
-
timeout: 10000
|
|
10395
|
-
});
|
|
10386
|
+
await this.page.getByPlaceholder("User").fill(userName);
|
|
10387
|
+
await this.page.getByPlaceholder("Password").fill(password);
|
|
10396
10388
|
}
|
|
10397
|
-
await this.page.
|
|
10389
|
+
await this.page.getByRole("button", {
|
|
10390
|
+
name: /log in|sign in/i
|
|
10391
|
+
}).click();
|
|
10398
10392
|
//await expect(this.page).toHaveTitle('Digital.ai Release');
|
|
10399
10393
|
//await this.page.locator('input#username').fill(userName, { timeout: 1000 });
|
|
10400
10394
|
//await this.page.locator('input#password').fill(password, { timeout: 10000 });
|