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

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,6 +1,6 @@
1
1
  # @digital-ai/devops-page-object-release
2
2
 
3
- ## 0.0.0-snapshot-20251209115646
3
+ ## 0.0.0-snapshot-20251209141752
4
4
 
5
5
  ### Patch Changes
6
6
 
package/dist/main.js CHANGED
@@ -3874,19 +3874,25 @@ class $8681d8a3f46f87b7$export$d1077068a9cc9f17 extends (0, $f8721861c660dd88$ex
3874
3874
  await (0, $kKeXs$playwrighttest.expect)(this.page.locator("#tags")).toContainText(tagName);
3875
3875
  }
3876
3876
  async expectReleaseNotTaggedWith(tagName) {
3877
- await (0, $kKeXs$playwrighttest.expect)(this.page.locator("#tags").getByText(tagName)).toHaveCount(0);
3877
+ await (0, $kKeXs$playwrighttest.expect)(this.page.locator(`#tags`, {
3878
+ hasText: tagName
3879
+ })).toHaveCount(0);
3878
3880
  }
3879
3881
  async addTag(tagName) {
3880
- const tagInput = this.page.getByPlaceholder("Add a tag...");
3882
+ const tagInput = this.page.locator('input[placeholder="Add a tag..."]');
3881
3883
  await tagInput.fill(tagName);
3882
3884
  await tagInput.press("Enter");
3883
- await (0, $kKeXs$playwrighttest.expect)(this.page.locator("#tags").getByText(tagName)).toBeVisible();
3885
+ await (0, $kKeXs$playwrighttest.expect)(this.page.locator(`#tags`, {
3886
+ hasText: tagName
3887
+ })).toBeVisible();
3884
3888
  }
3885
3889
  async removeTag(tagName) {
3886
- const tag = this.page.locator("#tags").getByText(tagName);
3890
+ const tag = this.page.locator(`#tags`, {
3891
+ hasText: tagName
3892
+ });
3887
3893
  const removeIcon = tag.locator(".tag-close");
3888
3894
  await removeIcon.click();
3889
- await (0, $kKeXs$playwrighttest.expect)(this.page.locator("#tags").getByText(tagName)).toHaveCount(0);
3895
+ await (0, $kKeXs$playwrighttest.expect)(tag).toHaveCount(0);
3890
3896
  }
3891
3897
  async expectTemplateTitleToBe(templateTitle) {
3892
3898
  await (0, $kKeXs$playwrighttest.expect)(this.page.locator('[data-test="created-from-template"]')).toContainText(templateTitle);