@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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @digital-ai/devops-page-object-release
2
2
 
3
+ ## 0.0.42
4
+
5
+ ### Patch Changes
6
+
7
+ - dcc0e67: Fix precondition queries
8
+
3
9
  ## 0.0.41
4
10
 
5
11
  ### Patch Changes
package/dist/main.js CHANGED
@@ -1832,11 +1832,9 @@ class $9c0b0c2caed50730$export$d4865631ba74f3e2 extends (0, $f8721861c660dd88$ex
1832
1832
  await this.saveButton.dblclick();
1833
1833
  await this.page.waitForTimeout(1000);
1834
1834
  }
1835
- async expectPreconditionEditable() {
1836
- await (0, $kKeXs$playwrighttest.expect)(this.textEditor).toBeVisible();
1837
- }
1838
- async expectPreconditionNotEditable() {
1839
- await (0, $kKeXs$playwrighttest.expect)(this.textEditor).not.toBeEditable();
1835
+ async expectPreconditionEditable(editable) {
1836
+ if (editable) await (0, $kKeXs$playwrighttest.expect)(this.textEditor).toBeEditable();
1837
+ else await (0, $kKeXs$playwrighttest.expect)(this.textEditor).not.toBeEditable();
1840
1838
  }
1841
1839
  async enableFailureHandler() {
1842
1840
  await this.page.getByLabel("Enable failure handler").check();