@digital-ai/devops-page-object-release 0.0.52 → 0.0.53

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
@@ -873,7 +873,15 @@ class $115d1e40e2564777$export$a87b4660f21fba58 extends (0, $9626bc9256ce31f7$ex
873
873
  })).toBeVisible();
874
874
  }
875
875
  async selectAttributeType(type) {
876
- await this.page.locator("#facet-type").selectOption(type);
876
+ await this.page.getByRole("combobox", {
877
+ name: "Type of attribute"
878
+ }).click();
879
+ await this.page.getByRole("combobox", {
880
+ name: "Type of attribute"
881
+ }).fill(type);
882
+ await this.page.getByRole("option", {
883
+ name: type
884
+ }).click();
877
885
  }
878
886
  async fillInputValue(labelName, value) {
879
887
  await this.page.getByRole("combobox", {
@@ -8003,6 +8011,7 @@ class $80c3ae34677b4324$var$Fixtures {
8003
8011
  applicationIds = [];
8004
8012
  archivedReleaseIds = [];
8005
8013
  environmentIds = [];
8014
+ environmentStageIds = [];
8006
8015
  releaseIds = [];
8007
8016
  riskProfiles = [];
8008
8017
  reservationIds = [];
@@ -8234,23 +8243,27 @@ class $80c3ae34677b4324$var$Fixtures {
8234
8243
  const response = await this.doPost("fixtures/environment", environment);
8235
8244
  const json = await response.json();
8236
8245
  this.environmentIds.push(json.id);
8246
+ this.environmentStageIds.push(json.stage);
8237
8247
  return json;
8238
8248
  }
8239
8249
  async reservation(reservation) {
8240
8250
  const response = await this.doPost("fixtures/reservation", reservation);
8241
8251
  const json = await response.json();
8242
8252
  this.reservationIds.push(json.id);
8243
- return json.body;
8253
+ return json;
8244
8254
  }
8245
8255
  deleteDelivery(delivery) {
8246
8256
  return this.doDelete(`fixtures/deliveries/${delivery}`);
8247
8257
  }
8248
8258
  async deleteApplication(applicationId) {
8249
- return this.doDelete(`api/v1/applications/${applicationId}`);
8259
+ return this.doDelete(`fixtures/application/${applicationId}`);
8250
8260
  }
8251
8261
  async deleteEnvironment(environmentId) {
8252
8262
  return this.doDelete(`fixtures/environment/${environmentId}`);
8253
8263
  }
8264
+ async deleteEnvironmentStage(environmentStageId) {
8265
+ return this.doDelete(`fixtures/environment/${environmentStageId}`);
8266
+ }
8254
8267
  async clearCalendar() {
8255
8268
  return this.doDelete("fixtures/calendar");
8256
8269
  }
@@ -8268,12 +8281,14 @@ class $80c3ae34677b4324$var$Fixtures {
8268
8281
  for (const confId of this.configurationIds)await this.deleteConfiguration(confId);
8269
8282
  for (const folderId of this.folderIds.reverse())await this.deleteFolder(folderId);
8270
8283
  for (const globalVariableId of this.globalVariableIds)await this.deleteGlobalVariable(globalVariableId);
8271
- for (const environmentId of this.environmentIds)await this.deleteEnvironment(environmentId);
8272
- for (const applicationId of this.applicationIds)await this.deleteApplication(applicationId);
8273
8284
  for (const reservationId of this.reservationIds)await this.deleteReservation(reservationId);
8285
+ for (const applicationId of this.applicationIds)await this.deleteApplication(applicationId);
8286
+ for (const environmentId of this.environmentIds)await this.deleteEnvironment(environmentId);
8287
+ for (const environmentStageId of this.environmentStageIds)await this.deleteEnvironmentStage(environmentStageId);
8274
8288
  this.applicationIds = [];
8275
8289
  this.configurationIds = [];
8276
8290
  this.environmentIds = [];
8291
+ this.environmentStageIds = [];
8277
8292
  this.globalVariableIds = [];
8278
8293
  this.folderIds = [];
8279
8294
  this.releaseIds = [];