@digital-ai/devops-page-object-release 0.0.0-snapshot-20251208152659 → 0.0.0-snapshot-20251209071345

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
@@ -2782,6 +2782,19 @@ class $c9bb587dd92143c3$export$d1077068a9cc9f17 extends (0, $9626bc9256ce31f7$ex
2782
2782
  await download.saveAs("./core/xlr-ui/build/playwright/" + download.suggestedFilename());
2783
2783
  (0, $hOLA6$expect)(download.suggestedFilename()).toBe(filename);
2784
2784
  }
2785
+ async verifyCalendarEventDownload(releaseName) {
2786
+ // Start listening for download event
2787
+ const downloadPromise1 = this.page.waitForEvent("download");
2788
+ const expectedFilename = `${releaseName}.ics`;
2789
+ // Trigger the download
2790
+ await this.page.getByRole("button", {
2791
+ name: "Download calendar event"
2792
+ }).click();
2793
+ // Wait for the download to complete
2794
+ const download = await downloadPromise1;
2795
+ // Validate the file name
2796
+ (0, $hOLA6$expect)(download.suggestedFilename()).toBe(expectedFilename);
2797
+ }
2785
2798
  async deleteAttachment(fileName) {
2786
2799
  await this.page.getByRole("row", {
2787
2800
  name: fileName