@digital-ai/devops-page-object-release 0.0.41 → 0.0.42

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
@@ -896,11 +896,9 @@ class $3fa741329d8067d5$export$d4865631ba74f3e2 extends (0, $9626bc9256ce31f7$ex
896
896
  await this.saveButton.dblclick();
897
897
  await this.page.waitForTimeout(1000);
898
898
  }
899
- async expectPreconditionEditable() {
900
- await (0, $hOLA6$expect)(this.textEditor).toBeVisible();
901
- }
902
- async expectPreconditionNotEditable() {
903
- await (0, $hOLA6$expect)(this.textEditor).not.toBeEditable();
899
+ async expectPreconditionEditable(editable) {
900
+ if (editable) await (0, $hOLA6$expect)(this.textEditor).toBeEditable();
901
+ else await (0, $hOLA6$expect)(this.textEditor).not.toBeEditable();
904
902
  }
905
903
  async enableFailureHandler() {
906
904
  await this.page.getByLabel("Enable failure handler").check();