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

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-20251209141752
3
+ ## 0.0.0-snapshot-20251210041025
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - 48c6bd0: S-126903: Migrated release-tags-scenario to playwright
7
+ - 294fb2f: S-126029: Added new column details for testing account lock
8
8
 
9
9
  ## 0.0.96
10
10
 
package/dist/main.js CHANGED
@@ -3873,27 +3873,6 @@ class $8681d8a3f46f87b7$export$d1077068a9cc9f17 extends (0, $f8721861c660dd88$ex
3873
3873
  async expectReleaseTaggedWith(tagName) {
3874
3874
  await (0, $kKeXs$playwrighttest.expect)(this.page.locator("#tags")).toContainText(tagName);
3875
3875
  }
3876
- async expectReleaseNotTaggedWith(tagName) {
3877
- await (0, $kKeXs$playwrighttest.expect)(this.page.locator(`#tags`, {
3878
- hasText: tagName
3879
- })).toHaveCount(0);
3880
- }
3881
- async addTag(tagName) {
3882
- const tagInput = this.page.locator('input[placeholder="Add a tag..."]');
3883
- await tagInput.fill(tagName);
3884
- await tagInput.press("Enter");
3885
- await (0, $kKeXs$playwrighttest.expect)(this.page.locator(`#tags`, {
3886
- hasText: tagName
3887
- })).toBeVisible();
3888
- }
3889
- async removeTag(tagName) {
3890
- const tag = this.page.locator(`#tags`, {
3891
- hasText: tagName
3892
- });
3893
- const removeIcon = tag.locator(".tag-close");
3894
- await removeIcon.click();
3895
- await (0, $kKeXs$playwrighttest.expect)(tag).toHaveCount(0);
3896
- }
3897
3876
  async expectTemplateTitleToBe(templateTitle) {
3898
3877
  await (0, $kKeXs$playwrighttest.expect)(this.page.locator('[data-test="created-from-template"]')).toContainText(templateTitle);
3899
3878
  }
@@ -6892,6 +6871,9 @@ class $3ceab7c613cabfd6$export$107317390f5aa598 extends (0, $f8721861c660dd88$ex
6892
6871
  }).locator(`td`).filter({
6893
6872
  hasText: type
6894
6873
  }).count()).toBeGreaterThan(0);
6874
+ if (user.accountLocked) (0, $kKeXs$playwrighttest.expect)(await this.page.locator(`tr`).filter({
6875
+ hasText: user.name
6876
+ }).locator('[data-testid="user-account-lock"]').isVisible()).toBeTruthy();
6895
6877
  if (user.email) (0, $kKeXs$playwrighttest.expect)(await this.page.locator(`tr`).filter({
6896
6878
  hasText: user.name
6897
6879
  }).locator(`td`).filter({
@@ -6956,7 +6938,7 @@ class $3ceab7c613cabfd6$export$107317390f5aa598 extends (0, $f8721861c660dd88$ex
6956
6938
  return this;
6957
6939
  }
6958
6940
  async expectUserUnlockedToaster(user) {
6959
- await (0, $kKeXs$playwrighttest.expect)(this.page.getByText(`User ${user} unlocked successfully`)).toBeVisible({
6941
+ await (0, $kKeXs$playwrighttest.expect)(this.page.getByText(`User ${user} was unlocked and can now login in again`)).toBeVisible({
6960
6942
  timeout: 10000
6961
6943
  });
6962
6944
  }