@digital-ai/devops-page-object-release 0.0.0-snapshot-20251212092659 → 0.0.0-snapshot-20251212130202

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/dist/module.js CHANGED
@@ -5929,7 +5929,8 @@ class $2cb6a6ac6b17e85f$export$107317390f5aa598 extends (0, $9626bc9256ce31f7$ex
5929
5929
  }).getByRole("checkbox")).toBeChecked();
5930
5930
  }
5931
5931
  async deleteUser(username) {
5932
- await this.page.getByTestId(`delete-btn-${username}`).click();
5932
+ await this.page.getByTestId(`user-actions-btn-${username}`).click();
5933
+ await this.page.locator(".icon-delete").click();
5933
5934
  await this.modal.delete();
5934
5935
  }
5935
5936
  async openRoles() {
@@ -5974,9 +5975,7 @@ class $2cb6a6ac6b17e85f$export$107317390f5aa598 extends (0, $9626bc9256ce31f7$ex
5974
5975
  }).locator(`td`).filter({
5975
5976
  hasText: user.externalId
5976
5977
  }).count()).toBeGreaterThan(0);
5977
- (0, $hOLA6$expect)(await this.page.locator(`tr`).filter({
5978
- hasText: user.name
5979
- }).locator(`td .icon-delete`).count()).toBeGreaterThan(0);
5978
+ (0, $hOLA6$expect)(await this.page.getByTestId(`user-actions-btn-${user.name}`).count()).toBeGreaterThan(0);
5980
5979
  }
5981
5980
  }
5982
5981
  async expectNoUser(username) {
@@ -5985,9 +5984,8 @@ class $2cb6a6ac6b17e85f$export$107317390f5aa598 extends (0, $9626bc9256ce31f7$ex
5985
5984
  }
5986
5985
  async updateUser(username) {
5987
5986
  await this.filterUser(username);
5988
- await this.page.getByRole("row", {
5989
- name: "" + username + ""
5990
- }).locator(".icon-edit").click();
5987
+ await this.page.getByTestId(`user-actions-btn-${username}`).click();
5988
+ await this.page.locator(".icon-edit").click();
5991
5989
  return this.modal;
5992
5990
  }
5993
5991
  async sortByColumn(columnName, columnIndex) {