@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/CHANGELOG.md +7 -0
- package/dist/main.js +20 -5
- package/dist/main.js.map +1 -1
- package/dist/module.js +20 -5
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +1 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
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.
|
|
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", {
|
|
@@ -9613,6 +9621,7 @@ class $6998c6a53a9eb4fa$var$Fixtures {
|
|
|
9613
9621
|
applicationIds = [];
|
|
9614
9622
|
archivedReleaseIds = [];
|
|
9615
9623
|
environmentIds = [];
|
|
9624
|
+
environmentStageIds = [];
|
|
9616
9625
|
releaseIds = [];
|
|
9617
9626
|
riskProfiles = [];
|
|
9618
9627
|
reservationIds = [];
|
|
@@ -9844,23 +9853,27 @@ class $6998c6a53a9eb4fa$var$Fixtures {
|
|
|
9844
9853
|
const response = await this.doPost("fixtures/environment", environment);
|
|
9845
9854
|
const json = await response.json();
|
|
9846
9855
|
this.environmentIds.push(json.id);
|
|
9856
|
+
this.environmentStageIds.push(json.stage);
|
|
9847
9857
|
return json;
|
|
9848
9858
|
}
|
|
9849
9859
|
async reservation(reservation) {
|
|
9850
9860
|
const response = await this.doPost("fixtures/reservation", reservation);
|
|
9851
9861
|
const json = await response.json();
|
|
9852
9862
|
this.reservationIds.push(json.id);
|
|
9853
|
-
return json
|
|
9863
|
+
return json;
|
|
9854
9864
|
}
|
|
9855
9865
|
deleteDelivery(delivery) {
|
|
9856
9866
|
return this.doDelete(`fixtures/deliveries/${delivery}`);
|
|
9857
9867
|
}
|
|
9858
9868
|
async deleteApplication(applicationId) {
|
|
9859
|
-
return this.doDelete(`
|
|
9869
|
+
return this.doDelete(`fixtures/application/${applicationId}`);
|
|
9860
9870
|
}
|
|
9861
9871
|
async deleteEnvironment(environmentId) {
|
|
9862
9872
|
return this.doDelete(`fixtures/environment/${environmentId}`);
|
|
9863
9873
|
}
|
|
9874
|
+
async deleteEnvironmentStage(environmentStageId) {
|
|
9875
|
+
return this.doDelete(`fixtures/environment/${environmentStageId}`);
|
|
9876
|
+
}
|
|
9864
9877
|
async clearCalendar() {
|
|
9865
9878
|
return this.doDelete("fixtures/calendar");
|
|
9866
9879
|
}
|
|
@@ -9878,12 +9891,14 @@ class $6998c6a53a9eb4fa$var$Fixtures {
|
|
|
9878
9891
|
for (const confId of this.configurationIds)await this.deleteConfiguration(confId);
|
|
9879
9892
|
for (const folderId of this.folderIds.reverse())await this.deleteFolder(folderId);
|
|
9880
9893
|
for (const globalVariableId of this.globalVariableIds)await this.deleteGlobalVariable(globalVariableId);
|
|
9881
|
-
for (const environmentId of this.environmentIds)await this.deleteEnvironment(environmentId);
|
|
9882
|
-
for (const applicationId of this.applicationIds)await this.deleteApplication(applicationId);
|
|
9883
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);
|
|
9884
9898
|
this.applicationIds = [];
|
|
9885
9899
|
this.configurationIds = [];
|
|
9886
9900
|
this.environmentIds = [];
|
|
9901
|
+
this.environmentStageIds = [];
|
|
9887
9902
|
this.globalVariableIds = [];
|
|
9888
9903
|
this.folderIds = [];
|
|
9889
9904
|
this.releaseIds = [];
|