@digital-ai/devops-page-object-release 0.0.0-snapshot-20251030054654 → 0.0.0-snapshot-20251030103505
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 +15 -20
- package/dist/main.js.map +1 -1
- package/dist/module.js +15 -20
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +2 -9
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/module.js
CHANGED
|
@@ -2906,6 +2906,21 @@ 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
|
+
}
|
|
2909
2924
|
}
|
|
2910
2925
|
|
|
2911
2926
|
|
|
@@ -3379,19 +3394,6 @@ class $87bbb6d35ad31a00$export$f8f26dd395d7e1bd extends (0, $9626bc9256ce31f7$ex
|
|
|
3379
3394
|
}
|
|
3380
3395
|
|
|
3381
3396
|
|
|
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
|
-
|
|
3395
3397
|
class $43cbcdfccb6c2a76$export$f43492e8ac3c566 extends (0, $9626bc9256ce31f7$export$2b65d1d97338f32b) {
|
|
3396
3398
|
defaultTimeout = 10000;
|
|
3397
3399
|
constructor(page){
|
|
@@ -3399,7 +3401,6 @@ class $43cbcdfccb6c2a76$export$f43492e8ac3c566 extends (0, $9626bc9256ce31f7$exp
|
|
|
3399
3401
|
this.addPhaseBtn = this.page.getByTestId("add-phase-btn");
|
|
3400
3402
|
this.createPage = new (0, $05d91a1d3381a287$export$34addcca3f0ae43f)(page);
|
|
3401
3403
|
this.ganttPage = new (0, $a546aadb4e6fa16a$export$5a82be0a2a261cc6)(page);
|
|
3402
|
-
this.summaryPage = new (0, $1161451ccf0a4615$export$46146ef3ab8c339b)(page);
|
|
3403
3404
|
this.tableView = new (0, $19b7e7e46cfe3be0$export$649fde34d823ece7)(page);
|
|
3404
3405
|
this.taskDrawer = new (0, $8e39246218b802fc$export$e946776eae644790)(page);
|
|
3405
3406
|
this.teamsPermissions = new (0, $96c6280ff1c47b81$export$3bc3e140e0dcb075)(page);
|
|
@@ -3412,10 +3413,6 @@ class $43cbcdfccb6c2a76$export$f43492e8ac3c566 extends (0, $9626bc9256ce31f7$exp
|
|
|
3412
3413
|
await this.openSubPage("Triggers");
|
|
3413
3414
|
return new (0, $862f65268e488e83$export$fb932093f944abe4)(this.page);
|
|
3414
3415
|
}
|
|
3415
|
-
async openSummary() {
|
|
3416
|
-
this.openSubPage("Dashboard");
|
|
3417
|
-
return new (0, $1161451ccf0a4615$export$46146ef3ab8c339b)(this.page);
|
|
3418
|
-
}
|
|
3419
3416
|
async abort(comment = "Abort for testing") {
|
|
3420
3417
|
await this.page.getByTestId("abort-btn").waitFor();
|
|
3421
3418
|
await this.page.getByTestId("abort-btn").click();
|
|
@@ -9098,7 +9095,6 @@ class $2c3301798e261060$export$8da2fa93430be6ca extends (0, $9626bc9256ce31f7$ex
|
|
|
9098
9095
|
|
|
9099
9096
|
|
|
9100
9097
|
|
|
9101
|
-
|
|
9102
9098
|
class $e72552cbf941ecfa$export$b8a61e5c71402559 {
|
|
9103
9099
|
constructor(page){
|
|
9104
9100
|
this.page = page;
|
|
@@ -9111,7 +9107,6 @@ class $e72552cbf941ecfa$export$b8a61e5c71402559 {
|
|
|
9111
9107
|
this.header = new (0, $aa1ba8c8de3c0679$export$2fb4351c41ce6e7a)(page);
|
|
9112
9108
|
this.managePluginsPage = new (0, $ecd0868a4240184d$export$7b434e00c788d0bf)(page);
|
|
9113
9109
|
this.releasePage = new (0, $43cbcdfccb6c2a76$export$f43492e8ac3c566)(page);
|
|
9114
|
-
this.summaryPage = new (0, $1161451ccf0a4615$export$46146ef3ab8c339b)(page);
|
|
9115
9110
|
this.settingsMenu = new (0, $f1bf370bb7f683ca$export$1d7840d5cdc861d5)(page);
|
|
9116
9111
|
this.systemSettingsPage = new (0, $2cbb78eec86d0a9f$export$2edf430132ca35d0)(page);
|
|
9117
9112
|
this.usersPage = new (0, $2cb6a6ac6b17e85f$export$107317390f5aa598)(page);
|