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

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,17 @@
1
1
  # @digital-ai/devops-page-object-release
2
2
 
3
+ ## 0.0.43
4
+
5
+ ### Patch Changes
6
+
7
+ - 0681b13: fixes a problem when deleting all global variables and running with workers
8
+
9
+ ## 0.0.42
10
+
11
+ ### Patch Changes
12
+
13
+ - dcc0e67: Fix precondition queries
14
+
3
15
  ## 0.0.41
4
16
 
5
17
  ### 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();
@@ -9475,6 +9473,9 @@ class $6998c6a53a9eb4fa$var$Fixtures {
9475
9473
  deleteGlobalVariables() {
9476
9474
  return this.doDelete("fixtures/globalVariables");
9477
9475
  }
9476
+ deleteGlobalVariable(id) {
9477
+ return this.doDelete(`api/v1/config/${id}`);
9478
+ }
9478
9479
  activityLogs(id, logs) {
9479
9480
  return this.doPost(`fixtures/activityLogs/${id}`, logs);
9480
9481
  }
@@ -9526,7 +9527,7 @@ class $6998c6a53a9eb4fa$var$Fixtures {
9526
9527
  for (const releaseId of this.releaseIds.reverse())await this.deleteRelease(releaseId);
9527
9528
  for (const confId of this.configurationIds)await this.deleteConfiguration(confId);
9528
9529
  for (const folderId of this.folderIds.reverse())await this.deleteFolder(folderId);
9529
- await this.deleteGlobalVariables();
9530
+ for (const globalVariableId of this.globalVariableIds)await this.deleteGlobalVariable(globalVariableId);
9530
9531
  this.globalVariableIds = [];
9531
9532
  this.folderIds = [];
9532
9533
  this.releaseIds = [];