@digital-ai/devops-page-object-release 0.0.0-snapshot-20251125090528 → 0.0.0-snapshot-20251126094153

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
@@ -2755,6 +2755,16 @@ class $c9bb587dd92143c3$export$d1077068a9cc9f17 extends (0, $9626bc9256ce31f7$ex
2755
2755
  hasText: filename
2756
2756
  })).not.toBeVisible();
2757
2757
  }
2758
+ async expectSubscribeLinkIsPublic() {
2759
+ await (0, $hOLA6$expect)(this.page.locator("#releaseForm-calendarPublished")).toBeChecked();
2760
+ }
2761
+ async expectSubscribeLinkIsPrivate() {
2762
+ await (0, $hOLA6$expect)(this.page.locator("#releaseForm-calendarPublished")).not.toBeChecked();
2763
+ }
2764
+ async setSubscribeLink(isPublic) {
2765
+ const isChecked = await this.page.locator("#releaseForm-calendarPublished").isChecked();
2766
+ if (isChecked !== isPublic) await this.page.locator("#releaseForm-calendarPublished").click();
2767
+ }
2758
2768
  async downloadFile(filename) {
2759
2769
  // eslint-disable-next-line @typescript-eslint/no-empty-function
2760
2770
  const downloadPromise1 = this.page.waitForEvent("download");
@@ -2902,23 +2912,6 @@ class $c9bb587dd92143c3$export$d1077068a9cc9f17 extends (0, $9626bc9256ce31f7$ex
2902
2912
  async expectReleaseTaggedWith(tagName) {
2903
2913
  await (0, $hOLA6$expect)(this.page.locator("#tags")).toContainText(tagName);
2904
2914
  }
2905
- async expectReleaseNotTaggedWith(tagName) {
2906
- await (0, $hOLA6$expect)(this.page.locator(`#tags >> text=${tagName}`)).toHaveCount(0);
2907
- }
2908
- async addTag(tagName) {
2909
- const tagInput = this.page.locator("#tags input");
2910
- await tagInput.fill(tagName);
2911
- await tagInput.press("Enter");
2912
- await (0, $hOLA6$expect)(this.page.locator(`#tags >> text=${tagName}`)).toBeVisible();
2913
- }
2914
- async removeTag(tagName) {
2915
- const tag = this.page.locator(`#tags`, {
2916
- hasText: tagName
2917
- });
2918
- const removeIcon = tag.locator(".tag-close");
2919
- await removeIcon.click();
2920
- await (0, $hOLA6$expect)(this.page.locator(`#tags >> text=${tagName}`)).toHaveCount(0);
2921
- }
2922
2915
  async expectTemplateTitleToBe(templateTitle) {
2923
2916
  await (0, $hOLA6$expect)(this.page.locator('[data-test="created-from-template"]')).toContainText(templateTitle);
2924
2917
  }