@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/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @digital-ai/devops-page-object-release
2
2
 
3
- ## 0.0.0-snapshot-20251208152659
3
+ ## 0.0.0-snapshot-20251209071345
4
4
 
5
5
  ### Patch Changes
6
6
 
package/dist/main.js CHANGED
@@ -3718,6 +3718,19 @@ class $8681d8a3f46f87b7$export$d1077068a9cc9f17 extends (0, $f8721861c660dd88$ex
3718
3718
  await download.saveAs("./core/xlr-ui/build/playwright/" + download.suggestedFilename());
3719
3719
  (0, $kKeXs$playwrighttest.expect)(download.suggestedFilename()).toBe(filename);
3720
3720
  }
3721
+ async verifyCalendarEventDownload(releaseName) {
3722
+ // Start listening for download event
3723
+ const downloadPromise1 = this.page.waitForEvent("download");
3724
+ const expectedFilename = `${releaseName}.ics`;
3725
+ // Trigger the download
3726
+ await this.page.getByRole("button", {
3727
+ name: "Download calendar event"
3728
+ }).click();
3729
+ // Wait for the download to complete
3730
+ const download = await downloadPromise1;
3731
+ // Validate the file name
3732
+ (0, $kKeXs$playwrighttest.expect)(download.suggestedFilename()).toBe(expectedFilename);
3733
+ }
3721
3734
  async deleteAttachment(fileName) {
3722
3735
  await this.page.getByRole("row", {
3723
3736
  name: fileName