@digital-ai/devops-page-object-release 0.0.52 → 0.0.54
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 +13 -0
- package/dist/main.js +29 -5
- package/dist/main.js.map +1 -1
- package/dist/module.js +29 -5
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +2 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @digital-ai/devops-page-object-release
|
|
2
2
|
|
|
3
|
+
## 0.0.54
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 27d812f: S-120147: Added alert validation on taskblackout script
|
|
8
|
+
|
|
9
|
+
## 0.0.53
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 1f49161: Fixing the missed change in taskAttribute
|
|
14
|
+
- ae61f68: Facet scenario
|
|
15
|
+
|
|
3
16
|
## 0.0.52
|
|
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.
|
|
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", {
|
|
@@ -2968,6 +2976,15 @@ class $6a21661eb4695574$export$e946776eae644790 extends (0, $f8721861c660dd88$ex
|
|
|
2968
2976
|
}).click();
|
|
2969
2977
|
await (0, $kKeXs$playwrighttest.expect)(this.startButton).not.toBeVisible();
|
|
2970
2978
|
}
|
|
2979
|
+
async startNowWithBlackout(comment) {
|
|
2980
|
+
await this.startButton.click();
|
|
2981
|
+
await this.commentBox.fill(comment);
|
|
2982
|
+
await (0, $kKeXs$playwrighttest.expect)(this.page.getByText("Are you sure you want to run this task during the blackout period?")).toBeVisible();
|
|
2983
|
+
await this.page.locator("button", {
|
|
2984
|
+
hasText: "Start now"
|
|
2985
|
+
}).click();
|
|
2986
|
+
await (0, $kKeXs$playwrighttest.expect)(this.startButton).not.toBeVisible();
|
|
2987
|
+
}
|
|
2971
2988
|
async expectTaskTitle(taskTitle) {
|
|
2972
2989
|
await (0, $kKeXs$playwrighttest.expect)(this.page.locator(".task-drawer .task-title-input .dot-view-mode-typography")).toContainText(taskTitle);
|
|
2973
2990
|
}
|
|
@@ -9613,6 +9630,7 @@ class $6998c6a53a9eb4fa$var$Fixtures {
|
|
|
9613
9630
|
applicationIds = [];
|
|
9614
9631
|
archivedReleaseIds = [];
|
|
9615
9632
|
environmentIds = [];
|
|
9633
|
+
environmentStageIds = [];
|
|
9616
9634
|
releaseIds = [];
|
|
9617
9635
|
riskProfiles = [];
|
|
9618
9636
|
reservationIds = [];
|
|
@@ -9844,23 +9862,27 @@ class $6998c6a53a9eb4fa$var$Fixtures {
|
|
|
9844
9862
|
const response = await this.doPost("fixtures/environment", environment);
|
|
9845
9863
|
const json = await response.json();
|
|
9846
9864
|
this.environmentIds.push(json.id);
|
|
9865
|
+
this.environmentStageIds.push(json.stage);
|
|
9847
9866
|
return json;
|
|
9848
9867
|
}
|
|
9849
9868
|
async reservation(reservation) {
|
|
9850
9869
|
const response = await this.doPost("fixtures/reservation", reservation);
|
|
9851
9870
|
const json = await response.json();
|
|
9852
9871
|
this.reservationIds.push(json.id);
|
|
9853
|
-
return json
|
|
9872
|
+
return json;
|
|
9854
9873
|
}
|
|
9855
9874
|
deleteDelivery(delivery) {
|
|
9856
9875
|
return this.doDelete(`fixtures/deliveries/${delivery}`);
|
|
9857
9876
|
}
|
|
9858
9877
|
async deleteApplication(applicationId) {
|
|
9859
|
-
return this.doDelete(`
|
|
9878
|
+
return this.doDelete(`fixtures/application/${applicationId}`);
|
|
9860
9879
|
}
|
|
9861
9880
|
async deleteEnvironment(environmentId) {
|
|
9862
9881
|
return this.doDelete(`fixtures/environment/${environmentId}`);
|
|
9863
9882
|
}
|
|
9883
|
+
async deleteEnvironmentStage(environmentStageId) {
|
|
9884
|
+
return this.doDelete(`fixtures/environment/${environmentStageId}`);
|
|
9885
|
+
}
|
|
9864
9886
|
async clearCalendar() {
|
|
9865
9887
|
return this.doDelete("fixtures/calendar");
|
|
9866
9888
|
}
|
|
@@ -9878,12 +9900,14 @@ class $6998c6a53a9eb4fa$var$Fixtures {
|
|
|
9878
9900
|
for (const confId of this.configurationIds)await this.deleteConfiguration(confId);
|
|
9879
9901
|
for (const folderId of this.folderIds.reverse())await this.deleteFolder(folderId);
|
|
9880
9902
|
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
9903
|
for (const reservationId of this.reservationIds)await this.deleteReservation(reservationId);
|
|
9904
|
+
for (const applicationId of this.applicationIds)await this.deleteApplication(applicationId);
|
|
9905
|
+
for (const environmentId of this.environmentIds)await this.deleteEnvironment(environmentId);
|
|
9906
|
+
for (const environmentStageId of this.environmentStageIds)await this.deleteEnvironmentStage(environmentStageId);
|
|
9884
9907
|
this.applicationIds = [];
|
|
9885
9908
|
this.configurationIds = [];
|
|
9886
9909
|
this.environmentIds = [];
|
|
9910
|
+
this.environmentStageIds = [];
|
|
9887
9911
|
this.globalVariableIds = [];
|
|
9888
9912
|
this.folderIds = [];
|
|
9889
9913
|
this.releaseIds = [];
|