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

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
@@ -1318,8 +1318,8 @@ class $90bb70a7e909e500$export$519356f6c50361f7 extends (0, $9626bc9256ce31f7$ex
1318
1318
  }).click();
1319
1319
  }
1320
1320
  async setTemplate(templateName) {
1321
- await this.page.getByLabel("Template").click();
1322
- await this.page.getByLabel("Template").fill(templateName);
1321
+ await this.page.locator("#templateId").click();
1322
+ await this.page.locator("#templateId").fill(templateName);
1323
1323
  await this.page.getByRole("option", {
1324
1324
  name: templateName
1325
1325
  }).click();
@@ -7863,6 +7863,9 @@ class $80c3ae34677b4324$var$Fixtures {
7863
7863
  deleteGlobalVariables() {
7864
7864
  return this.doDelete("fixtures/globalVariables");
7865
7865
  }
7866
+ deleteGlobalVariable(id) {
7867
+ return this.doDelete(`api/v1/config/${id}`);
7868
+ }
7866
7869
  activityLogs(id, logs) {
7867
7870
  return this.doPost(`fixtures/activityLogs/${id}`, logs);
7868
7871
  }
@@ -7914,7 +7917,7 @@ class $80c3ae34677b4324$var$Fixtures {
7914
7917
  for (const releaseId of this.releaseIds.reverse())await this.deleteRelease(releaseId);
7915
7918
  for (const confId of this.configurationIds)await this.deleteConfiguration(confId);
7916
7919
  for (const folderId of this.folderIds.reverse())await this.deleteFolder(folderId);
7917
- await this.deleteGlobalVariables();
7920
+ for (const globalVariableId of this.globalVariableIds)await this.deleteGlobalVariable(globalVariableId);
7918
7921
  this.globalVariableIds = [];
7919
7922
  this.folderIds = [];
7920
7923
  this.releaseIds = [];