@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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @digital-ai/devops-page-object-release
2
2
 
3
+ ## 0.0.44
4
+
5
+ ### Patch Changes
6
+
7
+ - 1efd9c6: Update locator for CRT template
8
+
9
+ ## 0.0.43
10
+
11
+ ### Patch Changes
12
+
13
+ - 0681b13: fixes a problem when deleting all global variables and running with workers
14
+
3
15
  ## 0.0.42
4
16
 
5
17
  ### Patch Changes
package/dist/main.js CHANGED
@@ -2254,8 +2254,8 @@ class $eb81c1b930e440ff$export$519356f6c50361f7 extends (0, $f8721861c660dd88$ex
2254
2254
  }).click();
2255
2255
  }
2256
2256
  async setTemplate(templateName) {
2257
- await this.page.getByLabel("Template").click();
2258
- await this.page.getByLabel("Template").fill(templateName);
2257
+ await this.page.locator("#templateId").click();
2258
+ await this.page.locator("#templateId").fill(templateName);
2259
2259
  await this.page.getByRole("option", {
2260
2260
  name: templateName
2261
2261
  }).click();
@@ -9473,6 +9473,9 @@ class $6998c6a53a9eb4fa$var$Fixtures {
9473
9473
  deleteGlobalVariables() {
9474
9474
  return this.doDelete("fixtures/globalVariables");
9475
9475
  }
9476
+ deleteGlobalVariable(id) {
9477
+ return this.doDelete(`api/v1/config/${id}`);
9478
+ }
9476
9479
  activityLogs(id, logs) {
9477
9480
  return this.doPost(`fixtures/activityLogs/${id}`, logs);
9478
9481
  }
@@ -9524,7 +9527,7 @@ class $6998c6a53a9eb4fa$var$Fixtures {
9524
9527
  for (const releaseId of this.releaseIds.reverse())await this.deleteRelease(releaseId);
9525
9528
  for (const confId of this.configurationIds)await this.deleteConfiguration(confId);
9526
9529
  for (const folderId of this.folderIds.reverse())await this.deleteFolder(folderId);
9527
- await this.deleteGlobalVariables();
9530
+ for (const globalVariableId of this.globalVariableIds)await this.deleteGlobalVariable(globalVariableId);
9528
9531
  this.globalVariableIds = [];
9529
9532
  this.folderIds = [];
9530
9533
  this.releaseIds = [];