@digital-ai/devops-page-object-release 0.0.51 → 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/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # @digital-ai/devops-page-object-release
2
2
 
3
+ ## 0.0.53
4
+
5
+ ### Patch Changes
6
+
7
+ - 1f49161: Fixing the missed change in taskAttribute
8
+ - ae61f68: Facet scenario
9
+
10
+ ## 0.0.52
11
+
12
+ ### Patch Changes
13
+
14
+ - 421e01c: S-119676: Don't press enter when searching folders
15
+
3
16
  ## 0.0.51
4
17
 
5
18
  ### Patch Changes
package/dist/main.js CHANGED
@@ -1809,7 +1809,15 @@ class $6e382f24d680cc9b$export$a87b4660f21fba58 extends (0, $f8721861c660dd88$ex
1809
1809
  })).toBeVisible();
1810
1810
  }
1811
1811
  async selectAttributeType(type) {
1812
- await this.page.locator("#facet-type").selectOption(type);
1812
+ await this.page.getByRole("combobox", {
1813
+ name: "Type of attribute"
1814
+ }).click();
1815
+ await this.page.getByRole("combobox", {
1816
+ name: "Type of attribute"
1817
+ }).fill(type);
1818
+ await this.page.getByRole("option", {
1819
+ name: type
1820
+ }).click();
1813
1821
  }
1814
1822
  async fillInputValue(labelName, value) {
1815
1823
  await this.page.getByRole("combobox", {
@@ -5389,7 +5397,6 @@ class $9058d40a81bdb1f5$export$b453f08936c58edb extends (0, $f8721861c660dd88$ex
5389
5397
  await this.page.getByPlaceholder("Search folder...").click();
5390
5398
  await this.page.getByPlaceholder("Search folder...").clear();
5391
5399
  await this.page.getByPlaceholder("Search folder...").fill(folderName);
5392
- await this.page.getByPlaceholder("Search folder...").press("Enter");
5393
5400
  await (0, $kKeXs$playwrighttest.expect)(this.page.getByRole("link", {
5394
5401
  name: folderName
5395
5402
  })).toBeVisible();
@@ -9614,6 +9621,7 @@ class $6998c6a53a9eb4fa$var$Fixtures {
9614
9621
  applicationIds = [];
9615
9622
  archivedReleaseIds = [];
9616
9623
  environmentIds = [];
9624
+ environmentStageIds = [];
9617
9625
  releaseIds = [];
9618
9626
  riskProfiles = [];
9619
9627
  reservationIds = [];
@@ -9845,23 +9853,27 @@ class $6998c6a53a9eb4fa$var$Fixtures {
9845
9853
  const response = await this.doPost("fixtures/environment", environment);
9846
9854
  const json = await response.json();
9847
9855
  this.environmentIds.push(json.id);
9856
+ this.environmentStageIds.push(json.stage);
9848
9857
  return json;
9849
9858
  }
9850
9859
  async reservation(reservation) {
9851
9860
  const response = await this.doPost("fixtures/reservation", reservation);
9852
9861
  const json = await response.json();
9853
9862
  this.reservationIds.push(json.id);
9854
- return json.body;
9863
+ return json;
9855
9864
  }
9856
9865
  deleteDelivery(delivery) {
9857
9866
  return this.doDelete(`fixtures/deliveries/${delivery}`);
9858
9867
  }
9859
9868
  async deleteApplication(applicationId) {
9860
- return this.doDelete(`api/v1/applications/${applicationId}`);
9869
+ return this.doDelete(`fixtures/application/${applicationId}`);
9861
9870
  }
9862
9871
  async deleteEnvironment(environmentId) {
9863
9872
  return this.doDelete(`fixtures/environment/${environmentId}`);
9864
9873
  }
9874
+ async deleteEnvironmentStage(environmentStageId) {
9875
+ return this.doDelete(`fixtures/environment/${environmentStageId}`);
9876
+ }
9865
9877
  async clearCalendar() {
9866
9878
  return this.doDelete("fixtures/calendar");
9867
9879
  }
@@ -9879,12 +9891,14 @@ class $6998c6a53a9eb4fa$var$Fixtures {
9879
9891
  for (const confId of this.configurationIds)await this.deleteConfiguration(confId);
9880
9892
  for (const folderId of this.folderIds.reverse())await this.deleteFolder(folderId);
9881
9893
  for (const globalVariableId of this.globalVariableIds)await this.deleteGlobalVariable(globalVariableId);
9882
- for (const environmentId of this.environmentIds)await this.deleteEnvironment(environmentId);
9883
- for (const applicationId of this.applicationIds)await this.deleteApplication(applicationId);
9884
9894
  for (const reservationId of this.reservationIds)await this.deleteReservation(reservationId);
9895
+ for (const applicationId of this.applicationIds)await this.deleteApplication(applicationId);
9896
+ for (const environmentId of this.environmentIds)await this.deleteEnvironment(environmentId);
9897
+ for (const environmentStageId of this.environmentStageIds)await this.deleteEnvironmentStage(environmentStageId);
9885
9898
  this.applicationIds = [];
9886
9899
  this.configurationIds = [];
9887
9900
  this.environmentIds = [];
9901
+ this.environmentStageIds = [];
9888
9902
  this.globalVariableIds = [];
9889
9903
  this.folderIds = [];
9890
9904
  this.releaseIds = [];