@digital-ai/devops-page-object-release 0.0.0-snapshot-20251204060936 → 0.0.0-snapshot-20251204122443

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
@@ -5915,6 +5915,11 @@ class $2cb6a6ac6b17e85f$export$107317390f5aa598 extends (0, $9626bc9256ce31f7$ex
5915
5915
  }).locator(`td`).filter({
5916
5916
  hasText: user.externalId
5917
5917
  }).count()).toBeGreaterThan(0);
5918
+ if (user.accountLocked) (0, $hOLA6$expect)(await this.page.locator(`tr`).filter({
5919
+ hasText: user.name
5920
+ }).locator(`td`).filter({
5921
+ hasText: user.accountLocked
5922
+ }).count()).toBeGreaterThan(0);
5918
5923
  (0, $hOLA6$expect)(await this.page.locator(`tr`).filter({
5919
5924
  hasText: user.name
5920
5925
  }).locator(`td .icon-delete`).count()).toBeGreaterThan(0);
@@ -5963,25 +5968,6 @@ class $2cb6a6ac6b17e85f$export$107317390f5aa598 extends (0, $9626bc9256ce31f7$ex
5963
5968
  })).toHaveCount(0);
5964
5969
  return this;
5965
5970
  }
5966
- async expectUserUnlockedToaster(user) {
5967
- await (0, $hOLA6$expect)(this.page.getByText(`User ${user} unlocked successfully`)).toBeVisible({
5968
- timeout: 10000
5969
- });
5970
- }
5971
- async unlockUser(user) {
5972
- await this.page.getByTestId(`unlock-btn-${user}`).click();
5973
- }
5974
- async expectWarningVisibility(warningRegex, shouldBeVisible) {
5975
- const locator = this.page.getByText(warningRegex);
5976
- if (shouldBeVisible) await (0, $hOLA6$expect)(locator).toBeVisible();
5977
- else await (0, $hOLA6$expect)(locator).toHaveCount(0);
5978
- return this;
5979
- }
5980
- async editUserClickCancelButton() {
5981
- await this.page.getByRole("button", {
5982
- name: "Cancel"
5983
- }).click();
5984
- }
5985
5971
  }
5986
5972
 
5987
5973