@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 +13 -0
- package/dist/main.js +20 -6
- package/dist/main.js.map +1 -1
- package/dist/module.js +20 -6
- 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/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.
|
|
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", {
|
|
@@ -4453,7 +4461,6 @@ class $50c91328c9110668$export$b453f08936c58edb extends (0, $9626bc9256ce31f7$ex
|
|
|
4453
4461
|
await this.page.getByPlaceholder("Search folder...").click();
|
|
4454
4462
|
await this.page.getByPlaceholder("Search folder...").clear();
|
|
4455
4463
|
await this.page.getByPlaceholder("Search folder...").fill(folderName);
|
|
4456
|
-
await this.page.getByPlaceholder("Search folder...").press("Enter");
|
|
4457
4464
|
await (0, $hOLA6$expect)(this.page.getByRole("link", {
|
|
4458
4465
|
name: folderName
|
|
4459
4466
|
})).toBeVisible();
|
|
@@ -8004,6 +8011,7 @@ class $80c3ae34677b4324$var$Fixtures {
|
|
|
8004
8011
|
applicationIds = [];
|
|
8005
8012
|
archivedReleaseIds = [];
|
|
8006
8013
|
environmentIds = [];
|
|
8014
|
+
environmentStageIds = [];
|
|
8007
8015
|
releaseIds = [];
|
|
8008
8016
|
riskProfiles = [];
|
|
8009
8017
|
reservationIds = [];
|
|
@@ -8235,23 +8243,27 @@ class $80c3ae34677b4324$var$Fixtures {
|
|
|
8235
8243
|
const response = await this.doPost("fixtures/environment", environment);
|
|
8236
8244
|
const json = await response.json();
|
|
8237
8245
|
this.environmentIds.push(json.id);
|
|
8246
|
+
this.environmentStageIds.push(json.stage);
|
|
8238
8247
|
return json;
|
|
8239
8248
|
}
|
|
8240
8249
|
async reservation(reservation) {
|
|
8241
8250
|
const response = await this.doPost("fixtures/reservation", reservation);
|
|
8242
8251
|
const json = await response.json();
|
|
8243
8252
|
this.reservationIds.push(json.id);
|
|
8244
|
-
return json
|
|
8253
|
+
return json;
|
|
8245
8254
|
}
|
|
8246
8255
|
deleteDelivery(delivery) {
|
|
8247
8256
|
return this.doDelete(`fixtures/deliveries/${delivery}`);
|
|
8248
8257
|
}
|
|
8249
8258
|
async deleteApplication(applicationId) {
|
|
8250
|
-
return this.doDelete(`
|
|
8259
|
+
return this.doDelete(`fixtures/application/${applicationId}`);
|
|
8251
8260
|
}
|
|
8252
8261
|
async deleteEnvironment(environmentId) {
|
|
8253
8262
|
return this.doDelete(`fixtures/environment/${environmentId}`);
|
|
8254
8263
|
}
|
|
8264
|
+
async deleteEnvironmentStage(environmentStageId) {
|
|
8265
|
+
return this.doDelete(`fixtures/environment/${environmentStageId}`);
|
|
8266
|
+
}
|
|
8255
8267
|
async clearCalendar() {
|
|
8256
8268
|
return this.doDelete("fixtures/calendar");
|
|
8257
8269
|
}
|
|
@@ -8269,12 +8281,14 @@ class $80c3ae34677b4324$var$Fixtures {
|
|
|
8269
8281
|
for (const confId of this.configurationIds)await this.deleteConfiguration(confId);
|
|
8270
8282
|
for (const folderId of this.folderIds.reverse())await this.deleteFolder(folderId);
|
|
8271
8283
|
for (const globalVariableId of this.globalVariableIds)await this.deleteGlobalVariable(globalVariableId);
|
|
8272
|
-
for (const environmentId of this.environmentIds)await this.deleteEnvironment(environmentId);
|
|
8273
|
-
for (const applicationId of this.applicationIds)await this.deleteApplication(applicationId);
|
|
8274
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);
|
|
8275
8288
|
this.applicationIds = [];
|
|
8276
8289
|
this.configurationIds = [];
|
|
8277
8290
|
this.environmentIds = [];
|
|
8291
|
+
this.environmentStageIds = [];
|
|
8278
8292
|
this.globalVariableIds = [];
|
|
8279
8293
|
this.folderIds = [];
|
|
8280
8294
|
this.releaseIds = [];
|