@digital-ai/devops-page-object-release 0.0.0-snapshot-20250922111535 → 0.0.0-snapshot-20250922113606

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
@@ -4593,7 +4593,7 @@ class $d13e78163af94d50$export$9b9454a7f137e99b extends (0, $9626bc9256ce31f7$ex
4593
4593
  await this.clickNewDeliveryPattern();
4594
4594
  await this.setPatternName(patternName);
4595
4595
  await this.setPatternDescription(patternDescription);
4596
- await this.setDuration(duration);
4596
+ if (duration) await this.setDuration(duration);
4597
4597
  await (0, $hOLA6$expect)(this.page.locator(".action-toolbar-actions button").filter({
4598
4598
  hasText: "Create"
4599
4599
  })).toBeEnabled();
@@ -4690,16 +4690,14 @@ class $d13e78163af94d50$export$9b9454a7f137e99b extends (0, $9626bc9256ce31f7$ex
4690
4690
  })).not.toBeVisible();
4691
4691
  }
4692
4692
  async expectPatternIsVisible(patternName) {
4693
- const locator = this.page.locator(".delivery-pattern-row").filter({
4693
+ await (0, $hOLA6$expect)(this.page.locator(".delivery-pattern-row").filter({
4694
4694
  hasText: patternName
4695
- });
4696
- await (0, $hOLA6$expect)(locator).toBeVisible(); // assertion with auto-wait
4695
+ })).toBeVisible();
4697
4696
  }
4698
4697
  async expectPatternIsNotVisible(patternName) {
4699
- const locator = this.page.locator(".delivery-pattern-row").filter({
4698
+ await (0, $hOLA6$expect)(this.page.locator(".delivery-pattern-row").filter({
4700
4699
  hasText: patternName
4701
- });
4702
- await (0, $hOLA6$expect)(locator).toBeHidden(); // assertion with auto-wait
4700
+ })).toBeHidden();
4703
4701
  }
4704
4702
  noPatternsMessageIsVisible() {
4705
4703
  return (0, $hOLA6$expect)(this.page.getByText("No delivery patterns found")).toBeVisible();