@digital-ai/devops-page-object-release 0.0.77 → 0.0.79

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/dist/module.js CHANGED
@@ -218,7 +218,7 @@ class $b34a21212642e54d$export$7034f81075184002 extends (0, $9626bc9256ce31f7$ex
218
218
  return this;
219
219
  }
220
220
  async gotoListView() {
221
- await this.clickOnReleasesPageTab("List");
221
+ await this.clickOnReleasesPageTab("Releases");
222
222
  await (0, $hOLA6$expect)(this.page.locator(".release-list")).toBeVisible();
223
223
  }
224
224
  async gotoCalendarView() {
@@ -3310,8 +3310,7 @@ class $43cbcdfccb6c2a76$export$f43492e8ac3c566 extends (0, $9626bc9256ce31f7$exp
3310
3310
  async abort(comment = "Abort for testing") {
3311
3311
  await this.page.getByTestId("abort-btn").waitFor();
3312
3312
  await this.page.getByTestId("abort-btn").click();
3313
- await this.page.getByPlaceholder("Give feedback or place a").click();
3314
- await this.page.getByPlaceholder("Give feedback or place a").fill(comment);
3313
+ await this.page.getByPlaceholder("Provide a reason").fill(comment);
3315
3314
  await this.page.getByRole("button", {
3316
3315
  name: "Abort"
3317
3316
  }).click();
@@ -4190,8 +4189,8 @@ class $4cdce1306be47ecd$export$16a2118d39966c86 {
4190
4189
  this.rowSelector = ".activity-logs-table .dot-tbody .dot-tr:not(.loading-row)";
4191
4190
  }
4192
4191
  async expectActivityLogEntry({ msg: msg , user: user }) {
4193
- if (user) await (0, $hOLA6$expect)(this.page.locator(`${this.rowSelector}:has-text("${user}")`)).toBeVisible();
4194
- if (msg) await (0, $hOLA6$expect)(this.page.locator(`${this.rowSelector}:has-text("${msg}")`)).toBeVisible();
4192
+ if (user) await (0, $hOLA6$expect)(this.page.locator(`${this.rowSelector}:has-text("${user}")`).first()).toBeVisible();
4193
+ if (msg) await (0, $hOLA6$expect)(this.page.locator(`${this.rowSelector}:has-text("${msg}")`).first()).toBeVisible();
4195
4194
  return this;
4196
4195
  }
4197
4196
  async expectCountToBe(count) {
@@ -4285,6 +4284,14 @@ class $4cdce1306be47ecd$export$eace2be4de1d3377 extends (0, $9626bc9256ce31f7$ex
4285
4284
  await this.page.goto(timelinePath);
4286
4285
  return this;
4287
4286
  }
4287
+ async openDeliveryPatternActivityLogs(folderId, deliveryId, filter) {
4288
+ const patternActivityLogs = await this.appendFilterQueryString(`#/folders/${folderId}/delivery-patterns/${deliveryId}/logs`, filter);
4289
+ await this.page.goto(patternActivityLogs);
4290
+ await this.page.getByTestId("activity-logs-title-typography").waitFor({
4291
+ state: "visible"
4292
+ });
4293
+ return new $4cdce1306be47ecd$export$16a2118d39966c86(this.page);
4294
+ }
4288
4295
  async openDeliveries() {
4289
4296
  await this.page.goto("./#/deliveries");
4290
4297
  }
@@ -8480,6 +8487,9 @@ class $2cbb78eec86d0a9f$export$2edf430132ca35d0 extends (0, $9626bc9256ce31f7$ex
8480
8487
  hasText: "Changes saved successfully"
8481
8488
  })).toBeVisible();
8482
8489
  await this.page.locator(".success").getByRole("button").click();
8490
+ await (0, $hOLA6$expect)(this.page.locator(".success").filter({
8491
+ hasText: "Changes saved successfully"
8492
+ })).not.toBeVisible();
8483
8493
  return this;
8484
8494
  }
8485
8495
  async reset() {