@digital-ai/devops-page-object-release 0.0.0-snapshot-20251029100901 → 0.0.0-snapshot-20251030051145
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 +22 -26
- package/dist/main.js.map +1 -1
- package/dist/module.js +22 -26
- 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
|
|
|
@@ -3330,15 +3315,12 @@ class $87bbb6d35ad31a00$export$f8f26dd395d7e1bd extends (0, $9626bc9256ce31f7$ex
|
|
|
3330
3315
|
await (0, $hOLA6$expect)(icExpandTreeview1).not.toBeVisible();
|
|
3331
3316
|
}
|
|
3332
3317
|
async openSideNavMenu(menuItem) {
|
|
3333
|
-
|
|
3318
|
+
await this.page.locator(`navigation-sidebar ul li`).getByText(menuItem, {
|
|
3334
3319
|
exact: true
|
|
3335
|
-
});
|
|
3336
|
-
await
|
|
3337
|
-
|
|
3338
|
-
});
|
|
3339
|
-
await this.page.waitForTimeout(500);
|
|
3340
|
-
await menuLocator.scrollIntoViewIfNeeded();
|
|
3341
|
-
await menuLocator.click();
|
|
3320
|
+
}).scrollIntoViewIfNeeded();
|
|
3321
|
+
await this.page.locator(`navigation-sidebar ul li`).getByText(menuItem, {
|
|
3322
|
+
exact: true
|
|
3323
|
+
}).click();
|
|
3342
3324
|
}
|
|
3343
3325
|
async openNestedMenuItem(nestedMenuItem) {
|
|
3344
3326
|
await this.page.locator(".MuiList-root li").getByText(nestedMenuItem, {
|
|
@@ -3397,6 +3379,19 @@ class $87bbb6d35ad31a00$export$f8f26dd395d7e1bd extends (0, $9626bc9256ce31f7$ex
|
|
|
3397
3379
|
}
|
|
3398
3380
|
|
|
3399
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
|
+
|
|
3400
3395
|
class $43cbcdfccb6c2a76$export$f43492e8ac3c566 extends (0, $9626bc9256ce31f7$export$2b65d1d97338f32b) {
|
|
3401
3396
|
defaultTimeout = 10000;
|
|
3402
3397
|
constructor(page){
|
|
@@ -3404,6 +3399,7 @@ class $43cbcdfccb6c2a76$export$f43492e8ac3c566 extends (0, $9626bc9256ce31f7$exp
|
|
|
3404
3399
|
this.addPhaseBtn = this.page.getByTestId("add-phase-btn");
|
|
3405
3400
|
this.createPage = new (0, $05d91a1d3381a287$export$34addcca3f0ae43f)(page);
|
|
3406
3401
|
this.ganttPage = new (0, $a546aadb4e6fa16a$export$5a82be0a2a261cc6)(page);
|
|
3402
|
+
this.summaryPage = new (0, $1161451ccf0a4615$export$46146ef3ab8c339b)(page);
|
|
3407
3403
|
this.tableView = new (0, $19b7e7e46cfe3be0$export$649fde34d823ece7)(page);
|
|
3408
3404
|
this.taskDrawer = new (0, $8e39246218b802fc$export$e946776eae644790)(page);
|
|
3409
3405
|
this.teamsPermissions = new (0, $96c6280ff1c47b81$export$3bc3e140e0dcb075)(page);
|
|
@@ -3416,9 +3412,9 @@ class $43cbcdfccb6c2a76$export$f43492e8ac3c566 extends (0, $9626bc9256ce31f7$exp
|
|
|
3416
3412
|
await this.openSubPage("Triggers");
|
|
3417
3413
|
return new (0, $862f65268e488e83$export$fb932093f944abe4)(this.page);
|
|
3418
3414
|
}
|
|
3419
|
-
async
|
|
3420
|
-
|
|
3421
|
-
return new $
|
|
3415
|
+
async openSummary() {
|
|
3416
|
+
this.openSubPage("Dashboard");
|
|
3417
|
+
return new (0, $1161451ccf0a4615$export$46146ef3ab8c339b)(this.page);
|
|
3422
3418
|
}
|
|
3423
3419
|
async abort(comment = "Abort for testing") {
|
|
3424
3420
|
await this.page.getByTestId("abort-btn").waitFor();
|