@digital-ai/devops-page-object-release 0.0.39 → 0.0.41
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 +183 -59
- package/dist/main.js.map +1 -1
- package/dist/module.js +183 -59
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +23 -3
- package/dist/types.d.ts.map +1 -1
- package/package.json +3 -3
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>;
|
|
@@ -529,6 +532,8 @@ declare class ReleaseTeamsAndPermissionsPage extends WithPage {
|
|
|
529
532
|
}
|
|
530
533
|
declare class ReleaseTableViewPage extends WithPage {
|
|
531
534
|
commentBox: Locator;
|
|
535
|
+
contextMenuButton: Locator;
|
|
536
|
+
completeButton: Locator;
|
|
532
537
|
dateUtil: DateUtil;
|
|
533
538
|
refreshButton: Locator;
|
|
534
539
|
taskDrawer: TaskDrawer;
|
|
@@ -557,6 +562,11 @@ declare class ReleaseTableViewPage extends WithPage {
|
|
|
557
562
|
addCommentToSelectedTask(comment: string): Promise<this>;
|
|
558
563
|
selectSubtasks(item: string): Promise<this>;
|
|
559
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>;
|
|
560
570
|
}
|
|
561
571
|
declare class Util extends WithPage {
|
|
562
572
|
tempDir: string;
|
|
@@ -653,6 +663,8 @@ declare class ReleasePage extends WithPage {
|
|
|
653
663
|
restartPhases(): Promise<RestartPhaseModel>;
|
|
654
664
|
expectAddPhaseNotVisible(): Promise<void>;
|
|
655
665
|
expectAddTaskNotVisible(): Promise<void>;
|
|
666
|
+
expectTaskCount(count: number): Promise<void>;
|
|
667
|
+
expectCurrentTaskCount(count: number): Promise<void>;
|
|
656
668
|
}
|
|
657
669
|
declare class Phase extends WithPage {
|
|
658
670
|
commentBox: Locator;
|
|
@@ -660,8 +672,8 @@ declare class Phase extends WithPage {
|
|
|
660
672
|
dateUtil: DateUtil;
|
|
661
673
|
constructor(page: Page, phaseName: string);
|
|
662
674
|
setTitle(title: string): Promise<void>;
|
|
663
|
-
isMenuItemEnabled(menuName: string, taskTitle: string): Promise<void>;
|
|
664
|
-
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>;
|
|
665
677
|
expectMenuItemIsNotVisible(menuName: string, taskTitle: string): Promise<void>;
|
|
666
678
|
expectMenuItemIsVisible(menuName: string, taskTitle: string): Promise<void>;
|
|
667
679
|
closeContextMenu(): Promise<void>;
|
|
@@ -670,12 +682,15 @@ declare class Phase extends WithPage {
|
|
|
670
682
|
getNumberOfTasks(): Promise<number>;
|
|
671
683
|
expectToHaveNoneditableTitle(phaseTitle: string): Promise<void>;
|
|
672
684
|
expectToHaveTitle(phaseTitle: string): Promise<void>;
|
|
673
|
-
openContextMenuForTask(taskTitle: string): Promise<void>;
|
|
685
|
+
openContextMenuForTask(taskTitle: string, group?: boolean): Promise<void>;
|
|
674
686
|
skipFromContextMenu(comment: string, taskTitle: string): Promise<void>;
|
|
675
687
|
completeFromContextMenu(taskTitle: string, comment: string): Promise<void>;
|
|
676
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>;
|
|
677
691
|
expectChangeTypeContextMenuDisabled(taskTitle: string, taskGroup: string, taskType: string): Promise<this>;
|
|
678
692
|
expectGateCheckMark(): Promise<this>;
|
|
693
|
+
expectLockCheckMark(taskTitle: string, isVisible?: boolean): Promise<this>;
|
|
679
694
|
expectFailureHandlerCheckMar(taskTitle: string, isVisible?: boolean): Promise<this>;
|
|
680
695
|
expectNoOptionInChangeType(taskTitle: string, taskGroup: string): Promise<this>;
|
|
681
696
|
assignToMeFromContextMenu(taskTitle: string): Promise<void>;
|
|
@@ -705,6 +720,11 @@ declare class Phase extends WithPage {
|
|
|
705
720
|
duplicatePhase(): Promise<void>;
|
|
706
721
|
expectActionsDisabled(): Promise<void>;
|
|
707
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>;
|
|
708
728
|
}
|
|
709
729
|
declare class RestartPhaseModel extends WithPage {
|
|
710
730
|
continueBtn: Locator;
|