@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/CHANGELOG.md CHANGED
@@ -1,10 +1,15 @@
1
1
  # @digital-ai/devops-page-object-release
2
2
 
3
- ## 0.0.0-snapshot-20251125090528
3
+ ## 0.0.0-snapshot-20251126094153
4
+
5
+ ### Patch Changes
6
+
7
+ - e78e1d3: S-126989: Migrated to release-download-ics-scenario to playwright
8
+
9
+ ## 0.0.93
4
10
 
5
11
  ### Patch Changes
6
12
 
7
- - 2a2a240: S-126903: Migrated release-tags-scenario to playwright
8
13
  - 8fd6062: Corrected the User Filter placeholder to the new UI label change
9
14
 
10
15
  ## 0.0.92
package/dist/main.js CHANGED
@@ -3691,6 +3691,16 @@ class $8681d8a3f46f87b7$export$d1077068a9cc9f17 extends (0, $f8721861c660dd88$ex
3691
3691
  hasText: filename
3692
3692
  })).not.toBeVisible();
3693
3693
  }
3694
+ async expectSubscribeLinkIsPublic() {
3695
+ await (0, $kKeXs$playwrighttest.expect)(this.page.locator("#releaseForm-calendarPublished")).toBeChecked();
3696
+ }
3697
+ async expectSubscribeLinkIsPrivate() {
3698
+ await (0, $kKeXs$playwrighttest.expect)(this.page.locator("#releaseForm-calendarPublished")).not.toBeChecked();
3699
+ }
3700
+ async setSubscribeLink(isPublic) {
3701
+ const isChecked = await this.page.locator("#releaseForm-calendarPublished").isChecked();
3702
+ if (isChecked !== isPublic) await this.page.locator("#releaseForm-calendarPublished").click();
3703
+ }
3694
3704
  async downloadFile(filename) {
3695
3705
  // eslint-disable-next-line @typescript-eslint/no-empty-function
3696
3706
  const downloadPromise1 = this.page.waitForEvent("download");
@@ -3838,23 +3848,6 @@ class $8681d8a3f46f87b7$export$d1077068a9cc9f17 extends (0, $f8721861c660dd88$ex
3838
3848
  async expectReleaseTaggedWith(tagName) {
3839
3849
  await (0, $kKeXs$playwrighttest.expect)(this.page.locator("#tags")).toContainText(tagName);
3840
3850
  }
3841
- async expectReleaseNotTaggedWith(tagName) {
3842
- await (0, $kKeXs$playwrighttest.expect)(this.page.locator(`#tags >> text=${tagName}`)).toHaveCount(0);
3843
- }
3844
- async addTag(tagName) {
3845
- const tagInput = this.page.locator("#tags input");
3846
- await tagInput.fill(tagName);
3847
- await tagInput.press("Enter");
3848
- await (0, $kKeXs$playwrighttest.expect)(this.page.locator(`#tags >> text=${tagName}`)).toBeVisible();
3849
- }
3850
- async removeTag(tagName) {
3851
- const tag = this.page.locator(`#tags`, {
3852
- hasText: tagName
3853
- });
3854
- const removeIcon = tag.locator(".tag-close");
3855
- await removeIcon.click();
3856
- await (0, $kKeXs$playwrighttest.expect)(this.page.locator(`#tags >> text=${tagName}`)).toHaveCount(0);
3857
- }
3858
3851
  async expectTemplateTitleToBe(templateTitle) {
3859
3852
  await (0, $kKeXs$playwrighttest.expect)(this.page.locator('[data-test="created-from-template"]')).toContainText(templateTitle);
3860
3853
  }