@digital-ai/devops-page-object-release 0.0.0-snapshot-20251126133346 → 0.0.0-snapshot-20251126150532
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 +2 -2
- package/dist/main.js +10 -4
- package/dist/main.js.map +1 -1
- package/dist/module.js +10 -4
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +5 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# @digital-ai/devops-page-object-release
|
|
2
2
|
|
|
3
|
-
## 0.0.0-snapshot-
|
|
3
|
+
## 0.0.0-snapshot-20251126150532
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
|
-
-
|
|
7
|
+
- 8aa7e82: S-126989: Migrated to release-download-ics-scenario to playwright
|
|
8
8
|
|
|
9
9
|
## 0.0.93
|
|
10
10
|
|
package/dist/main.js
CHANGED
|
@@ -1258,10 +1258,6 @@ class $87643f2d97b0644e$export$a678525e79c4ccc4 extends (0, $e403098cd4f59faa$ex
|
|
|
1258
1258
|
}).click();
|
|
1259
1259
|
return new (0, $9b9a8c3da392d020$export$f43492e8ac3c566)(this.page);
|
|
1260
1260
|
}
|
|
1261
|
-
async expectReleaseFlagged(title, flag) {
|
|
1262
|
-
const release = this.page.locator(`.release:has-text("${title}").flagged_${flag}`);
|
|
1263
|
-
await (0, $kKeXs$playwrighttest.expect)(release).toHaveCount(1);
|
|
1264
|
-
}
|
|
1265
1261
|
async createNewRelease(releaseName, description) {
|
|
1266
1262
|
await this.releaseCreatePage.setName(releaseName);
|
|
1267
1263
|
await this.releaseCreatePage.setDescription(description);
|
|
@@ -3695,6 +3691,16 @@ class $8681d8a3f46f87b7$export$d1077068a9cc9f17 extends (0, $f8721861c660dd88$ex
|
|
|
3695
3691
|
hasText: filename
|
|
3696
3692
|
})).not.toBeVisible();
|
|
3697
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
|
+
}
|
|
3698
3704
|
async downloadFile(filename) {
|
|
3699
3705
|
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
3700
3706
|
const downloadPromise1 = this.page.waitForEvent("download");
|