@digital-ai/devops-page-object-release 0.0.0-snapshot-20251126150532 → 0.0.0-snapshot-20251201073056
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 +12 -10
- package/dist/main.js.map +1 -1
- package/dist/module.js +12 -10
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +2 -5
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/module.js
CHANGED
|
@@ -2755,16 +2755,6 @@ class $c9bb587dd92143c3$export$d1077068a9cc9f17 extends (0, $9626bc9256ce31f7$ex
|
|
|
2755
2755
|
hasText: filename
|
|
2756
2756
|
})).not.toBeVisible();
|
|
2757
2757
|
}
|
|
2758
|
-
async expectSubscribeLinkIsPublic() {
|
|
2759
|
-
await (0, $hOLA6$expect)(this.page.locator("#releaseForm-calendarPublished")).toBeChecked();
|
|
2760
|
-
}
|
|
2761
|
-
async expectSubscribeLinkIsPrivate() {
|
|
2762
|
-
await (0, $hOLA6$expect)(this.page.locator("#releaseForm-calendarPublished")).not.toBeChecked();
|
|
2763
|
-
}
|
|
2764
|
-
async setSubscribeLink(isPublic) {
|
|
2765
|
-
const isChecked = await this.page.locator("#releaseForm-calendarPublished").isChecked();
|
|
2766
|
-
if (isChecked !== isPublic) await this.page.locator("#releaseForm-calendarPublished").click();
|
|
2767
|
-
}
|
|
2768
2758
|
async downloadFile(filename) {
|
|
2769
2759
|
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
2770
2760
|
const downloadPromise1 = this.page.waitForEvent("download");
|
|
@@ -5573,6 +5563,12 @@ class $aa1ba8c8de3c0679$export$2fb4351c41ce6e7a extends (0, $9626bc9256ce31f7$ex
|
|
|
5573
5563
|
name: "Personal settings for admin"
|
|
5574
5564
|
})).toBeVisible();
|
|
5575
5565
|
}
|
|
5566
|
+
async verifyUserReginalSettings(userFullName) {
|
|
5567
|
+
await this.page.locator("li").getByLabel(userFullName).click();
|
|
5568
|
+
await (0, $hOLA6$expect)(this.page.getByRole("heading", {
|
|
5569
|
+
name: "Personal regional settings"
|
|
5570
|
+
})).toBeVisible();
|
|
5571
|
+
}
|
|
5576
5572
|
async clickAccessTokens() {
|
|
5577
5573
|
await this.page.getByText("Access tokens").click();
|
|
5578
5574
|
await (0, $hOLA6$expect)(this.page.getByLabel("breadcrumb").getByText("Access tokens")).toBeVisible();
|
|
@@ -5726,6 +5722,12 @@ class $a5932af323ac015a$export$3cf9c90f870f31bd extends (0, $9626bc9256ce31f7$ex
|
|
|
5726
5722
|
await this.page.getByText("Save").click();
|
|
5727
5723
|
(0, $hOLA6$expect)(await this.page.locator(".saved-text").textContent()).toContain("Last saved on ");
|
|
5728
5724
|
}
|
|
5725
|
+
async editUserProfileDateAndTimeFormat(dateFormat, timeFormat) {
|
|
5726
|
+
await this.page.locator('select[ng-model="$ctrl.profile.dateFormat"]').selectOption(dateFormat);
|
|
5727
|
+
await this.page.locator('select[ng-model="$ctrl.profile.timeFormat"]').selectOption(timeFormat);
|
|
5728
|
+
await this.page.getByText("Save").click();
|
|
5729
|
+
(0, $hOLA6$expect)(await this.page.locator(".saved-text").textContent()).toContain("Last saved on ");
|
|
5730
|
+
}
|
|
5729
5731
|
async generateNewAccessToken(tokenName, expiryOptions) {
|
|
5730
5732
|
await this.page.getByRole("button", {
|
|
5731
5733
|
name: "Generate token"
|