@digital-ai/devops-page-object-release 0.0.0-snapshot-20251212071754 → 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/CHANGELOG.md CHANGED
@@ -1,10 +1,16 @@
1
1
  # @digital-ai/devops-page-object-release
2
2
 
3
- ## 0.0.0-snapshot-20251212071754
3
+ ## 0.0.0-snapshot-20251212130202
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
+
9
+ ## 0.0.97
10
+
11
+ ### Patch Changes
12
+
13
+ - d9df9fb: S-126029: Added new column details for testing account lock
8
14
  - 686fc2e: S-126903: Migrated release-tags-scenario to playwright
9
15
 
10
16
  ## 0.0.96
package/dist/main.js CHANGED
@@ -6865,7 +6865,8 @@ class $3ceab7c613cabfd6$export$107317390f5aa598 extends (0, $f8721861c660dd88$ex
6865
6865
  }).getByRole("checkbox")).toBeChecked();
6866
6866
  }
6867
6867
  async deleteUser(username) {
6868
- await this.page.getByTestId(`delete-btn-${username}`).click();
6868
+ await this.page.getByTestId(`user-actions-btn-${username}`).click();
6869
+ await this.page.locator(".icon-delete").click();
6869
6870
  await this.modal.delete();
6870
6871
  }
6871
6872
  async openRoles() {
@@ -6910,9 +6911,7 @@ class $3ceab7c613cabfd6$export$107317390f5aa598 extends (0, $f8721861c660dd88$ex
6910
6911
  }).locator(`td`).filter({
6911
6912
  hasText: user.externalId
6912
6913
  }).count()).toBeGreaterThan(0);
6913
- (0, $kKeXs$playwrighttest.expect)(await this.page.locator(`tr`).filter({
6914
- hasText: user.name
6915
- }).locator(`td .icon-delete`).count()).toBeGreaterThan(0);
6914
+ (0, $kKeXs$playwrighttest.expect)(await this.page.getByTestId(`user-actions-btn-${user.name}`).count()).toBeGreaterThan(0);
6916
6915
  }
6917
6916
  }
6918
6917
  async expectNoUser(username) {
@@ -6921,9 +6920,8 @@ class $3ceab7c613cabfd6$export$107317390f5aa598 extends (0, $f8721861c660dd88$ex
6921
6920
  }
6922
6921
  async updateUser(username) {
6923
6922
  await this.filterUser(username);
6924
- await this.page.getByRole("row", {
6925
- name: "" + username + ""
6926
- }).locator(".icon-edit").click();
6923
+ await this.page.getByTestId(`user-actions-btn-${username}`).click();
6924
+ await this.page.locator(".icon-edit").click();
6927
6925
  return this.modal;
6928
6926
  }
6929
6927
  async sortByColumn(columnName, columnIndex) {
@@ -6959,7 +6957,7 @@ class $3ceab7c613cabfd6$export$107317390f5aa598 extends (0, $f8721861c660dd88$ex
6959
6957
  return this;
6960
6958
  }
6961
6959
  async expectUserUnlockedToaster(user) {
6962
- await (0, $kKeXs$playwrighttest.expect)(this.page.getByText(`User ${user} was unlocked and can now login in again`)).toBeVisible({
6960
+ await (0, $kKeXs$playwrighttest.expect)(this.page.getByText(`User ${user} was unlocked and can now login in again.`)).toBeVisible({
6963
6961
  timeout: 10000
6964
6962
  });
6965
6963
  }