@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 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-20260121075301
4
4
 
5
5
  ### Patch Changes
6
6
 
package/dist/main.js CHANGED
@@ -10380,21 +10380,20 @@ 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, {
10383
+ await this.page.locator('input[name="username"]').fill(userName);
10384
+ const passwordInput = this.page.locator("#password");
10385
+ await (0, $kKeXs$playwrighttest.expect)(passwordInput).toBeVisible({
10387
10386
  timeout: 10000
10388
10387
  });
10388
+ await passwordInput.click();
10389
+ await passwordInput.fill(password);
10389
10390
  } 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
- });
10391
+ await this.page.getByPlaceholder("User").fill(userName);
10392
+ await this.page.getByPlaceholder("Password").fill(password);
10396
10393
  }
10397
- await this.page.locator('button[type="submit"]').click();
10394
+ await this.page.getByRole("button", {
10395
+ name: /log in|sign in/i
10396
+ }).click();
10398
10397
  //await expect(this.page).toHaveTitle('Digital.ai Release');
10399
10398
  //await this.page.locator('input#username').fill(userName, { timeout: 1000 });
10400
10399
  //await this.page.locator('input#password').fill(password, { timeout: 10000 });