@digital-ai/devops-page-object-release 0.0.0-snapshot-20251030121554 → 0.0.0-snapshot-20251103091229
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 -1
- package/dist/main.js +36 -0
- package/dist/main.js.map +1 -1
- package/dist/module.js +36 -0
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +11 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/module.js
CHANGED
|
@@ -2917,6 +2917,22 @@ class $c9bb587dd92143c3$export$d1077068a9cc9f17 extends (0, $9626bc9256ce31f7$ex
|
|
|
2917
2917
|
async expectStartFromReleaseURLToBe(parentReleaseURL) {
|
|
2918
2918
|
(0, $hOLA6$expect)(await this.page.locator(".started-from-release").getAttribute("href")).toContain(parentReleaseURL);
|
|
2919
2919
|
}
|
|
2920
|
+
async expectFlaggedWith(flagName, flagComment) {
|
|
2921
|
+
const flagButton = this.page.locator(".flags .dropdown-button");
|
|
2922
|
+
await (0, $hOLA6$expect)(flagButton).toHaveClass(new RegExp(`\\b${flagName}\\b`));
|
|
2923
|
+
const input = this.page.locator(".flags input");
|
|
2924
|
+
await (0, $hOLA6$expect)(input).toBeVisible();
|
|
2925
|
+
await (0, $hOLA6$expect)(input).toHaveValue(flagComment);
|
|
2926
|
+
}
|
|
2927
|
+
async flag(flagName, flagComment) {
|
|
2928
|
+
const flagDropdown = this.page.locator("#release-properties .flags .dropdown-button");
|
|
2929
|
+
await flagDropdown.click();
|
|
2930
|
+
const flagPopover = this.page.locator(".flags .flag-picker-popover");
|
|
2931
|
+
const flagOption = flagPopover.locator(`div.${flagName}`);
|
|
2932
|
+
await flagOption.click();
|
|
2933
|
+
await this.page.getByPlaceholder("Set status text...").click();
|
|
2934
|
+
await this.page.getByPlaceholder("Set status text...").fill(flagComment);
|
|
2935
|
+
}
|
|
2920
2936
|
}
|
|
2921
2937
|
|
|
2922
2938
|
|
|
@@ -3390,6 +3406,19 @@ class $87bbb6d35ad31a00$export$f8f26dd395d7e1bd extends (0, $9626bc9256ce31f7$ex
|
|
|
3390
3406
|
}
|
|
3391
3407
|
|
|
3392
3408
|
|
|
3409
|
+
|
|
3410
|
+
|
|
3411
|
+
class $1161451ccf0a4615$export$46146ef3ab8c339b extends (0, $9626bc9256ce31f7$export$2b65d1d97338f32b) {
|
|
3412
|
+
constructor(page){
|
|
3413
|
+
super(page);
|
|
3414
|
+
}
|
|
3415
|
+
// Validate that release status contains the given text
|
|
3416
|
+
async expectReleaseStatusToContain(status) {
|
|
3417
|
+
await (0, $hOLA6$expect)(this.page.locator(".release-status")).toContainText(status);
|
|
3418
|
+
}
|
|
3419
|
+
}
|
|
3420
|
+
|
|
3421
|
+
|
|
3393
3422
|
class $43cbcdfccb6c2a76$export$f43492e8ac3c566 extends (0, $9626bc9256ce31f7$export$2b65d1d97338f32b) {
|
|
3394
3423
|
defaultTimeout = 10000;
|
|
3395
3424
|
constructor(page){
|
|
@@ -3397,6 +3426,7 @@ class $43cbcdfccb6c2a76$export$f43492e8ac3c566 extends (0, $9626bc9256ce31f7$exp
|
|
|
3397
3426
|
this.addPhaseBtn = this.page.getByTestId("add-phase-btn");
|
|
3398
3427
|
this.createPage = new (0, $05d91a1d3381a287$export$34addcca3f0ae43f)(page);
|
|
3399
3428
|
this.ganttPage = new (0, $a546aadb4e6fa16a$export$5a82be0a2a261cc6)(page);
|
|
3429
|
+
this.summaryPage = new (0, $1161451ccf0a4615$export$46146ef3ab8c339b)(page);
|
|
3400
3430
|
this.tableView = new (0, $19b7e7e46cfe3be0$export$649fde34d823ece7)(page);
|
|
3401
3431
|
this.taskDrawer = new (0, $8e39246218b802fc$export$e946776eae644790)(page);
|
|
3402
3432
|
this.teamsPermissions = new (0, $96c6280ff1c47b81$export$3bc3e140e0dcb075)(page);
|
|
@@ -3409,6 +3439,10 @@ class $43cbcdfccb6c2a76$export$f43492e8ac3c566 extends (0, $9626bc9256ce31f7$exp
|
|
|
3409
3439
|
await this.openSubPage("Triggers");
|
|
3410
3440
|
return new (0, $862f65268e488e83$export$fb932093f944abe4)(this.page);
|
|
3411
3441
|
}
|
|
3442
|
+
async openSummary() {
|
|
3443
|
+
this.openSubPage("Dashboard");
|
|
3444
|
+
return new (0, $1161451ccf0a4615$export$46146ef3ab8c339b)(this.page);
|
|
3445
|
+
}
|
|
3412
3446
|
async abort(comment = "Abort for testing") {
|
|
3413
3447
|
await this.page.getByTestId("abort-btn").waitFor();
|
|
3414
3448
|
await this.page.getByTestId("abort-btn").click();
|
|
@@ -9078,6 +9112,7 @@ class $2c3301798e261060$export$8da2fa93430be6ca extends (0, $9626bc9256ce31f7$ex
|
|
|
9078
9112
|
|
|
9079
9113
|
|
|
9080
9114
|
|
|
9115
|
+
|
|
9081
9116
|
class $e72552cbf941ecfa$export$b8a61e5c71402559 {
|
|
9082
9117
|
constructor(page){
|
|
9083
9118
|
this.page = page;
|
|
@@ -9090,6 +9125,7 @@ class $e72552cbf941ecfa$export$b8a61e5c71402559 {
|
|
|
9090
9125
|
this.header = new (0, $aa1ba8c8de3c0679$export$2fb4351c41ce6e7a)(page);
|
|
9091
9126
|
this.managePluginsPage = new (0, $ecd0868a4240184d$export$7b434e00c788d0bf)(page);
|
|
9092
9127
|
this.releasePage = new (0, $43cbcdfccb6c2a76$export$f43492e8ac3c566)(page);
|
|
9128
|
+
this.summaryPage = new (0, $1161451ccf0a4615$export$46146ef3ab8c339b)(page);
|
|
9093
9129
|
this.settingsMenu = new (0, $f1bf370bb7f683ca$export$1d7840d5cdc861d5)(page);
|
|
9094
9130
|
this.systemSettingsPage = new (0, $2cbb78eec86d0a9f$export$2edf430132ca35d0)(page);
|
|
9095
9131
|
this.usersPage = new (0, $2cb6a6ac6b17e85f$export$107317390f5aa598)(page);
|