@digital-ai/devops-page-object-release 0.0.0-snapshot-20251025024649 → 0.0.0-snapshot-20251027110813
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 +2 -2
- package/dist/main.js +17 -18
- package/dist/main.js.map +1 -1
- package/dist/module.js +17 -18
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +8 -3
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/module.js
CHANGED
|
@@ -2906,21 +2906,6 @@ class $c9bb587dd92143c3$export$d1077068a9cc9f17 extends (0, $9626bc9256ce31f7$ex
|
|
|
2906
2906
|
async expectStartFromReleaseURLToBe(parentReleaseURL) {
|
|
2907
2907
|
(0, $hOLA6$expect)(await this.page.locator(".started-from-release").getAttribute("href")).toContain(parentReleaseURL);
|
|
2908
2908
|
}
|
|
2909
|
-
async expectFlaggedWith(flagName, flagComment) {
|
|
2910
|
-
const flagButton = this.page.locator(".flags .dropdown-button");
|
|
2911
|
-
await (0, $hOLA6$expect)(flagButton).toHaveClass(new RegExp(`\\b${flagName}\\b`));
|
|
2912
|
-
const input = this.page.locator(".flags input");
|
|
2913
|
-
if (await input.isVisible()) await (0, $hOLA6$expect)(input).toHaveValue(flagComment);
|
|
2914
|
-
}
|
|
2915
|
-
async flag(flagName, flagComment) {
|
|
2916
|
-
const flagDropdown = this.page.locator("#release-properties .flags .dropdown-button");
|
|
2917
|
-
await flagDropdown.click();
|
|
2918
|
-
const flagPopover = this.page.locator(".flags .flag-picker-popover");
|
|
2919
|
-
const flagOption = flagPopover.locator(`div.${flagName}`);
|
|
2920
|
-
await flagOption.click();
|
|
2921
|
-
await this.page.getByPlaceholder("Set status text...").click();
|
|
2922
|
-
await this.page.getByPlaceholder("Set status text...").fill(flagComment);
|
|
2923
|
-
}
|
|
2924
2909
|
}
|
|
2925
2910
|
|
|
2926
2911
|
|
|
@@ -3394,6 +3379,19 @@ class $87bbb6d35ad31a00$export$f8f26dd395d7e1bd extends (0, $9626bc9256ce31f7$ex
|
|
|
3394
3379
|
}
|
|
3395
3380
|
|
|
3396
3381
|
|
|
3382
|
+
|
|
3383
|
+
|
|
3384
|
+
class $1161451ccf0a4615$export$46146ef3ab8c339b extends (0, $9626bc9256ce31f7$export$2b65d1d97338f32b) {
|
|
3385
|
+
constructor(page){
|
|
3386
|
+
super(page);
|
|
3387
|
+
}
|
|
3388
|
+
// Validate that release status contains the given text
|
|
3389
|
+
async expectReleaseStatusToContain(status) {
|
|
3390
|
+
await (0, $hOLA6$expect)(this.page.locator(".release-status")).toContainText(status);
|
|
3391
|
+
}
|
|
3392
|
+
}
|
|
3393
|
+
|
|
3394
|
+
|
|
3397
3395
|
class $43cbcdfccb6c2a76$export$f43492e8ac3c566 extends (0, $9626bc9256ce31f7$export$2b65d1d97338f32b) {
|
|
3398
3396
|
defaultTimeout = 10000;
|
|
3399
3397
|
constructor(page){
|
|
@@ -3401,6 +3399,7 @@ class $43cbcdfccb6c2a76$export$f43492e8ac3c566 extends (0, $9626bc9256ce31f7$exp
|
|
|
3401
3399
|
this.addPhaseBtn = this.page.getByTestId("add-phase-btn");
|
|
3402
3400
|
this.createPage = new (0, $05d91a1d3381a287$export$34addcca3f0ae43f)(page);
|
|
3403
3401
|
this.ganttPage = new (0, $a546aadb4e6fa16a$export$5a82be0a2a261cc6)(page);
|
|
3402
|
+
this.summaryPage = new (0, $1161451ccf0a4615$export$46146ef3ab8c339b)(page);
|
|
3404
3403
|
this.tableView = new (0, $19b7e7e46cfe3be0$export$649fde34d823ece7)(page);
|
|
3405
3404
|
this.taskDrawer = new (0, $8e39246218b802fc$export$e946776eae644790)(page);
|
|
3406
3405
|
this.teamsPermissions = new (0, $96c6280ff1c47b81$export$3bc3e140e0dcb075)(page);
|
|
@@ -3413,9 +3412,9 @@ class $43cbcdfccb6c2a76$export$f43492e8ac3c566 extends (0, $9626bc9256ce31f7$exp
|
|
|
3413
3412
|
await this.openSubPage("Triggers");
|
|
3414
3413
|
return new (0, $862f65268e488e83$export$fb932093f944abe4)(this.page);
|
|
3415
3414
|
}
|
|
3416
|
-
async
|
|
3417
|
-
|
|
3418
|
-
return new $
|
|
3415
|
+
async openSummary() {
|
|
3416
|
+
this.openSubPage("Dashboard");
|
|
3417
|
+
return new (0, $1161451ccf0a4615$export$46146ef3ab8c339b)(this.page);
|
|
3419
3418
|
}
|
|
3420
3419
|
async abort(comment = "Abort for testing") {
|
|
3421
3420
|
await this.page.getByTestId("abort-btn").waitFor();
|