@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/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();
@@ -7865,6 +7863,9 @@ class $80c3ae34677b4324$var$Fixtures {
7865
7863
  deleteGlobalVariables() {
7866
7864
  return this.doDelete("fixtures/globalVariables");
7867
7865
  }
7866
+ deleteGlobalVariable(id) {
7867
+ return this.doDelete(`api/v1/config/${id}`);
7868
+ }
7868
7869
  activityLogs(id, logs) {
7869
7870
  return this.doPost(`fixtures/activityLogs/${id}`, logs);
7870
7871
  }
@@ -7916,7 +7917,7 @@ class $80c3ae34677b4324$var$Fixtures {
7916
7917
  for (const releaseId of this.releaseIds.reverse())await this.deleteRelease(releaseId);
7917
7918
  for (const confId of this.configurationIds)await this.deleteConfiguration(confId);
7918
7919
  for (const folderId of this.folderIds.reverse())await this.deleteFolder(folderId);
7919
- await this.deleteGlobalVariables();
7920
+ for (const globalVariableId of this.globalVariableIds)await this.deleteGlobalVariable(globalVariableId);
7920
7921
  this.globalVariableIds = [];
7921
7922
  this.folderIds = [];
7922
7923
  this.releaseIds = [];