@digital-ai/devops-page-object-release 0.0.0-snapshot-20260121072057 → 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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # @digital-ai/devops-page-object-release
2
2
 
3
- ## 0.0.0-snapshot-20260121072057
3
+ ## 0.0.0-snapshot-20260121074448
4
4
 
5
5
  ### Patch Changes
6
6
 
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("#username").fill(userName, {
10384
- timeout: 10000
10385
- });
10386
- await this.page.locator("#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
- timeout: 10000
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.locator('button[type="submit"]').click();
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 });