@digital-ai/devops-page-object-release 0.0.38 → 0.0.40
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 +14 -0
- package/dist/main.js +222 -59
- package/dist/main.js.map +1 -1
- package/dist/module.js +222 -59
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +25 -3
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -30,6 +30,8 @@ declare class ReleasesListPage extends WithPage {
|
|
|
30
30
|
expectReleaseStatusInProgress(releaseTitle: string): Promise<void>;
|
|
31
31
|
expectReleaseAborted(releaseTitle: string): Promise<void>;
|
|
32
32
|
expectReleaseFailed(releaseTitle: string): Promise<void>;
|
|
33
|
+
expectReleaseFailing(releaseTitle: string): Promise<void>;
|
|
34
|
+
expectReleaseCompleted(releaseTitle: string): Promise<void>;
|
|
33
35
|
filterReleaseByAllStatus(): Promise<void>;
|
|
34
36
|
openReleaseByName(releaseTitle: string): Promise<ReleasePage>;
|
|
35
37
|
openSearchFilter(): Promise<void>;
|
|
@@ -242,6 +244,7 @@ declare class OverviewRail extends WithPage {
|
|
|
242
244
|
expectAlertMessage(alertMessage: string): Promise<void>;
|
|
243
245
|
expectValueFromString(propertyName: string, propertyValue: string): Promise<void>;
|
|
244
246
|
expectValueFromResultString(propertyName: string, value: string): Promise<this>;
|
|
247
|
+
expectDisabledInputField(propertyName: string): Promise<this>;
|
|
245
248
|
expectRiskProfileValue(value: string): Promise<void>;
|
|
246
249
|
expectTo(value: string): Promise<void>;
|
|
247
250
|
expectSubjectToBe(value: string): Promise<void>;
|
|
@@ -394,6 +397,7 @@ declare class TaskDrawer extends WithPage {
|
|
|
394
397
|
startButton: Locator;
|
|
395
398
|
taskDrawerLocator: Locator;
|
|
396
399
|
constructor(page: Page);
|
|
400
|
+
waitForTaskDrawer(): Promise<void>;
|
|
397
401
|
openOverviewRail(): Promise<void>;
|
|
398
402
|
openActivityRail(): Promise<void>;
|
|
399
403
|
openSchedulingRail(): Promise<SchedulingRail>;
|
|
@@ -528,6 +532,8 @@ declare class ReleaseTeamsAndPermissionsPage extends WithPage {
|
|
|
528
532
|
}
|
|
529
533
|
declare class ReleaseTableViewPage extends WithPage {
|
|
530
534
|
commentBox: Locator;
|
|
535
|
+
contextMenuButton: Locator;
|
|
536
|
+
completeButton: Locator;
|
|
531
537
|
dateUtil: DateUtil;
|
|
532
538
|
refreshButton: Locator;
|
|
533
539
|
taskDrawer: TaskDrawer;
|
|
@@ -556,6 +562,11 @@ declare class ReleaseTableViewPage extends WithPage {
|
|
|
556
562
|
addCommentToSelectedTask(comment: string): Promise<this>;
|
|
557
563
|
selectSubtasks(item: string): Promise<this>;
|
|
558
564
|
shiftSelectFromTo(taskFrom: string, taskTo: string): Promise<this>;
|
|
565
|
+
isContextualMenuItemEnabled(menuName: string, taskTitle: string): Promise<void>;
|
|
566
|
+
isContextualMenuItemDisabled(menuName: string, taskTitle: string): Promise<void>;
|
|
567
|
+
closeContextMenu(): Promise<void>;
|
|
568
|
+
expectDisabledActions(actionName: string): Promise<this>;
|
|
569
|
+
expectDisabledActionsOnMoreActionsMenu(menuItem: Array<string> | string): Promise<this>;
|
|
559
570
|
}
|
|
560
571
|
declare class Util extends WithPage {
|
|
561
572
|
tempDir: string;
|
|
@@ -652,6 +663,8 @@ declare class ReleasePage extends WithPage {
|
|
|
652
663
|
restartPhases(): Promise<RestartPhaseModel>;
|
|
653
664
|
expectAddPhaseNotVisible(): Promise<void>;
|
|
654
665
|
expectAddTaskNotVisible(): Promise<void>;
|
|
666
|
+
expectTaskCount(count: number): Promise<void>;
|
|
667
|
+
expectCurrentTaskCount(count: number): Promise<void>;
|
|
655
668
|
}
|
|
656
669
|
declare class Phase extends WithPage {
|
|
657
670
|
commentBox: Locator;
|
|
@@ -659,8 +672,8 @@ declare class Phase extends WithPage {
|
|
|
659
672
|
dateUtil: DateUtil;
|
|
660
673
|
constructor(page: Page, phaseName: string);
|
|
661
674
|
setTitle(title: string): Promise<void>;
|
|
662
|
-
isMenuItemEnabled(menuName: string, taskTitle: string): Promise<void>;
|
|
663
|
-
isMenuItemDisabled(menuName: string, taskTitle: string): Promise<void>;
|
|
675
|
+
isMenuItemEnabled(menuName: string, taskTitle: string, group?: boolean): Promise<void>;
|
|
676
|
+
isMenuItemDisabled(menuName: string, taskTitle: string, group?: boolean): Promise<void>;
|
|
664
677
|
expectMenuItemIsNotVisible(menuName: string, taskTitle: string): Promise<void>;
|
|
665
678
|
expectMenuItemIsVisible(menuName: string, taskTitle: string): Promise<void>;
|
|
666
679
|
closeContextMenu(): Promise<void>;
|
|
@@ -669,12 +682,15 @@ declare class Phase extends WithPage {
|
|
|
669
682
|
getNumberOfTasks(): Promise<number>;
|
|
670
683
|
expectToHaveNoneditableTitle(phaseTitle: string): Promise<void>;
|
|
671
684
|
expectToHaveTitle(phaseTitle: string): Promise<void>;
|
|
672
|
-
openContextMenuForTask(taskTitle: string): Promise<void>;
|
|
685
|
+
openContextMenuForTask(taskTitle: string, group?: boolean): Promise<void>;
|
|
673
686
|
skipFromContextMenu(comment: string, taskTitle: string): Promise<void>;
|
|
674
687
|
completeFromContextMenu(taskTitle: string, comment: string): Promise<void>;
|
|
675
688
|
changeTypeFromContextMenu(taskTitle: string, taskGroup: string, taskType: string): Promise<this>;
|
|
689
|
+
unlockFromContextMenu(taskTitle: string, group?: boolean): Promise<void>;
|
|
690
|
+
lockFromContextMenu(taskTitle: string, group?: boolean): Promise<void>;
|
|
676
691
|
expectChangeTypeContextMenuDisabled(taskTitle: string, taskGroup: string, taskType: string): Promise<this>;
|
|
677
692
|
expectGateCheckMark(): Promise<this>;
|
|
693
|
+
expectLockCheckMark(taskTitle: string, isVisible?: boolean): Promise<this>;
|
|
678
694
|
expectFailureHandlerCheckMar(taskTitle: string, isVisible?: boolean): Promise<this>;
|
|
679
695
|
expectNoOptionInChangeType(taskTitle: string, taskGroup: string): Promise<this>;
|
|
680
696
|
assignToMeFromContextMenu(taskTitle: string): Promise<void>;
|
|
@@ -704,6 +720,11 @@ declare class Phase extends WithPage {
|
|
|
704
720
|
duplicatePhase(): Promise<void>;
|
|
705
721
|
expectActionsDisabled(): Promise<void>;
|
|
706
722
|
expectTaskFailureManualPermission(): Promise<void>;
|
|
723
|
+
expectCurrentTaskCount(count: number): Promise<void>;
|
|
724
|
+
expectCompletedTaskCount(count: number): Promise<void>;
|
|
725
|
+
expectFailedTaskCount(count: number): Promise<void>;
|
|
726
|
+
expectFailingTaskCount(count: number): Promise<void>;
|
|
727
|
+
expectSkippedTaskCount(count: number): Promise<void>;
|
|
707
728
|
}
|
|
708
729
|
declare class RestartPhaseModel extends WithPage {
|
|
709
730
|
continueBtn: Locator;
|
|
@@ -1788,6 +1809,7 @@ declare class Fixtures {
|
|
|
1788
1809
|
deleteTrigger(id: string): Promise<APIResponse>;
|
|
1789
1810
|
deleteConfiguration(id: string): Promise<APIResponse>;
|
|
1790
1811
|
deleteFolder(folderId: string): Promise<APIResponse>;
|
|
1812
|
+
deleteGlobalVariables(): Promise<APIResponse>;
|
|
1791
1813
|
activityLogs(id: string, logs: Array<FixtureActivityLog>): Promise<APIResponse>;
|
|
1792
1814
|
globalVariable(variable: Variable): Promise<APIResponse>;
|
|
1793
1815
|
addDefaultSmtpServer(): Promise<APIResponse>;
|