@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 CHANGED
@@ -1,10 +1,10 @@
1
1
  # @digital-ai/devops-page-object-release
2
2
 
3
- ## 0.0.0-snapshot-20251126150532
3
+ ## 0.0.0-snapshot-20251201073056
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - 8aa7e82: S-126989: Migrated to release-download-ics-scenario to playwright
7
+ - 94dc456: S-126454 - added new methods for regional settings verification and editing date and time format
8
8
 
9
9
  ## 0.0.93
10
10
 
package/dist/main.js CHANGED
@@ -3691,16 +3691,6 @@ 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
- }
3704
3694
  async downloadFile(filename) {
3705
3695
  // eslint-disable-next-line @typescript-eslint/no-empty-function
3706
3696
  const downloadPromise1 = this.page.waitForEvent("download");
@@ -6509,6 +6499,12 @@ class $00fc48341ebf7de4$export$2fb4351c41ce6e7a extends (0, $f8721861c660dd88$ex
6509
6499
  name: "Personal settings for admin"
6510
6500
  })).toBeVisible();
6511
6501
  }
6502
+ async verifyUserReginalSettings(userFullName) {
6503
+ await this.page.locator("li").getByLabel(userFullName).click();
6504
+ await (0, $kKeXs$playwrighttest.expect)(this.page.getByRole("heading", {
6505
+ name: "Personal regional settings"
6506
+ })).toBeVisible();
6507
+ }
6512
6508
  async clickAccessTokens() {
6513
6509
  await this.page.getByText("Access tokens").click();
6514
6510
  await (0, $kKeXs$playwrighttest.expect)(this.page.getByLabel("breadcrumb").getByText("Access tokens")).toBeVisible();
@@ -6662,6 +6658,12 @@ class $010122e1d9b28b80$export$3cf9c90f870f31bd extends (0, $f8721861c660dd88$ex
6662
6658
  await this.page.getByText("Save").click();
6663
6659
  (0, $kKeXs$playwrighttest.expect)(await this.page.locator(".saved-text").textContent()).toContain("Last saved on ");
6664
6660
  }
6661
+ async editUserProfileDateAndTimeFormat(dateFormat, timeFormat) {
6662
+ await this.page.locator('select[ng-model="$ctrl.profile.dateFormat"]').selectOption(dateFormat);
6663
+ await this.page.locator('select[ng-model="$ctrl.profile.timeFormat"]').selectOption(timeFormat);
6664
+ await this.page.getByText("Save").click();
6665
+ (0, $kKeXs$playwrighttest.expect)(await this.page.locator(".saved-text").textContent()).toContain("Last saved on ");
6666
+ }
6665
6667
  async generateNewAccessToken(tokenName, expiryOptions) {
6666
6668
  await this.page.getByRole("button", {
6667
6669
  name: "Generate token"