@digital-ai/devops-page-object-release 0.0.0-snapshot-20251126142213 → 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 -17
- package/dist/main.js.map +1 -1
- package/dist/module.js +10 -17
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +5 -3
- 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
|
@@ -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
|
}
|