@digital-ai/devops-page-object-release 0.0.0-snapshot-20251210041025 → 0.0.0-snapshot-20251210075018

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,10 +1,10 @@
1
1
  # @digital-ai/devops-page-object-release
2
2
 
3
- ## 0.0.0-snapshot-20251210041025
3
+ ## 0.0.0-snapshot-20251210075018
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - 294fb2f: S-126029: Added new column details for testing account lock
7
+ - ec1a601: S-126029: Added new column details for testing account lock
8
8
 
9
9
  ## 0.0.96
10
10
 
package/dist/main.js CHANGED
@@ -6844,7 +6844,8 @@ class $3ceab7c613cabfd6$export$107317390f5aa598 extends (0, $f8721861c660dd88$ex
6844
6844
  }).getByRole("checkbox")).toBeChecked();
6845
6845
  }
6846
6846
  async deleteUser(username) {
6847
- await this.page.getByTestId(`delete-btn-${username}`).click();
6847
+ await this.page.getByTestId(`user-actions-btn-${username}`).click();
6848
+ await this.page.locator(".icon-delete").click();
6848
6849
  await this.modal.delete();
6849
6850
  }
6850
6851
  async openRoles() {
@@ -6889,9 +6890,7 @@ class $3ceab7c613cabfd6$export$107317390f5aa598 extends (0, $f8721861c660dd88$ex
6889
6890
  }).locator(`td`).filter({
6890
6891
  hasText: user.externalId
6891
6892
  }).count()).toBeGreaterThan(0);
6892
- (0, $kKeXs$playwrighttest.expect)(await this.page.locator(`tr`).filter({
6893
- hasText: user.name
6894
- }).locator(`td .icon-delete`).count()).toBeGreaterThan(0);
6893
+ (0, $kKeXs$playwrighttest.expect)(await this.page.getByTestId(`user-actions-btn-${user.name}`).count()).toBeGreaterThan(0);
6895
6894
  }
6896
6895
  }
6897
6896
  async expectNoUser(username) {
@@ -6900,9 +6899,8 @@ class $3ceab7c613cabfd6$export$107317390f5aa598 extends (0, $f8721861c660dd88$ex
6900
6899
  }
6901
6900
  async updateUser(username) {
6902
6901
  await this.filterUser(username);
6903
- await this.page.getByRole("row", {
6904
- name: "" + username + ""
6905
- }).locator(".icon-edit").click();
6902
+ await this.page.getByTestId(`user-actions-btn-${username}`).click();
6903
+ await this.page.locator(".icon-edit").click();
6906
6904
  return this.modal;
6907
6905
  }
6908
6906
  async sortByColumn(columnName, columnIndex) {
@@ -6938,7 +6936,7 @@ class $3ceab7c613cabfd6$export$107317390f5aa598 extends (0, $f8721861c660dd88$ex
6938
6936
  return this;
6939
6937
  }
6940
6938
  async expectUserUnlockedToaster(user) {
6941
- await (0, $kKeXs$playwrighttest.expect)(this.page.getByText(`User ${user} was unlocked and can now login in again`)).toBeVisible({
6939
+ await (0, $kKeXs$playwrighttest.expect)(this.page.getByText(`User ${user} unlocked successfully`)).toBeVisible({
6942
6940
  timeout: 10000
6943
6941
  });
6944
6942
  }