@digital-ai/devops-page-object-release 0.0.33 → 0.0.35
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 +12 -0
- package/dist/main.js +100 -12
- package/dist/main.js.map +1 -1
- package/dist/module.js +100 -12
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +17 -2
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -83,6 +83,7 @@ declare class VariablePage extends WithPage {
|
|
|
83
83
|
constructor(page: Page);
|
|
84
84
|
openVariable(variableKey: string): Promise<VariableModal>;
|
|
85
85
|
addNewVariable(variableName: string, labelname: string, description?: string): Promise<void>;
|
|
86
|
+
addNewVariableInFolder(variableName: string, labelname: string, description?: string): Promise<void>;
|
|
86
87
|
selectVariableTextType(valueName: string, multiline?: boolean): Promise<void>;
|
|
87
88
|
selectVariableListboxType(possiblevalue: Array<string> | string, defaultValue: string, required?: true): Promise<void>;
|
|
88
89
|
selectVariablePasswordType(possiblevalue: string): Promise<void>;
|
|
@@ -154,6 +155,9 @@ declare class DeleteVariableModel extends WithPage {
|
|
|
154
155
|
declare class ActivityRail extends WithPage {
|
|
155
156
|
expectCommentToContain(comment: string): Promise<void>;
|
|
156
157
|
expectTaskIsCommentable(isCommentable: boolean): Promise<void>;
|
|
158
|
+
addComment(comment: string): Promise<this>;
|
|
159
|
+
expectAuthorCommentsToBe(author: string): Promise<this>;
|
|
160
|
+
expectCommentsDateTimeToBe(comment: string, date: string): Promise<this>;
|
|
157
161
|
}
|
|
158
162
|
declare class AttachmentRail extends WithPage {
|
|
159
163
|
expectWithAttachment(filename: string): Promise<void>;
|
|
@@ -376,7 +380,9 @@ declare class TaskDrawer extends WithPage {
|
|
|
376
380
|
startNow(comment: string): Promise<void>;
|
|
377
381
|
expectTaskTitle(taskTitle: string): Promise<void>;
|
|
378
382
|
expectCompleteButtonEnabled(): Promise<void>;
|
|
383
|
+
expectCompleteButtonNotEnabled(): Promise<void>;
|
|
379
384
|
setTitle(title: string): Promise<void>;
|
|
385
|
+
expectTaskTitleEditable(): Promise<this>;
|
|
380
386
|
expectTypeToContain(taskType: string): Promise<void>;
|
|
381
387
|
clickExpand(): Promise<void>;
|
|
382
388
|
clickShrink(): Promise<void>;
|
|
@@ -387,6 +393,10 @@ declare class TaskDrawer extends WithPage {
|
|
|
387
393
|
removeStartDate(): Promise<void>;
|
|
388
394
|
setStartDate(date: string): Promise<void>;
|
|
389
395
|
assignToMe(userName: string, existingUsername: string): Promise<void>;
|
|
396
|
+
removeAssignToUser(userName: string): Promise<this>;
|
|
397
|
+
assignToTeam(existingTeamName: string, teamName: string): Promise<this>;
|
|
398
|
+
expectAssignedToTeam(teamName: string): Promise<void>;
|
|
399
|
+
removeAssignedTeam(teamName: string): Promise<this>;
|
|
390
400
|
setFlag(flagName: string, flagComment: string): Promise<void>;
|
|
391
401
|
expectFlaggedWith(flagName: string, flagComment: string): Promise<void>;
|
|
392
402
|
expectStartDateToBeDisplayed(): Promise<void>;
|
|
@@ -473,6 +483,9 @@ declare class ReleasePropertiesPage extends WithPage {
|
|
|
473
483
|
expectReleaseTaggedWith(tagName: string): Promise<void>;
|
|
474
484
|
expectTemplateTitleToBe(templateTitle: string): Promise<void>;
|
|
475
485
|
expectRiskProfileTitleToBe(riskProfile: string): Promise<void>;
|
|
486
|
+
expectStartFromReleaseToBe(parentRelease: string): Promise<void>;
|
|
487
|
+
expectTemplateURLToBe(templateURL: string): Promise<void>;
|
|
488
|
+
expectStartFromReleaseURLToBe(parentReleaseURL: string): Promise<void>;
|
|
476
489
|
}
|
|
477
490
|
declare class ReleaseTeamsAndPermissionsPage extends WithPage {
|
|
478
491
|
saveButton: Locator;
|
|
@@ -648,10 +661,12 @@ declare class Phase extends WithPage {
|
|
|
648
661
|
deletePhase(phaseName: string): Promise<void>;
|
|
649
662
|
expectCompletedPhase(): Promise<void>;
|
|
650
663
|
clickViewAllCompletedPhase(): Promise<void>;
|
|
651
|
-
expectTaskToBePresent(taskName: string): Promise<void>;
|
|
664
|
+
expectTaskToBePresent(taskName: string, visible?: boolean): Promise<void>;
|
|
652
665
|
expectContainingTask(taskName: string, exist?: boolean): Promise<void>;
|
|
653
666
|
addTaskInGroup(currentGroupType: string, taskTitle: string, taskGroup: string, taskType: string): Promise<void>;
|
|
654
|
-
openContextMenuForTaskInGroup(
|
|
667
|
+
openContextMenuForTaskInGroup(groupName: string, taskTitle: string): Promise<void>;
|
|
668
|
+
duplicateFromContextualMenuInGroup(groupName: string, taskTitle: string): Promise<this>;
|
|
669
|
+
deleteFromContextualMenuInGroup(groupName: string, taskTitle: string): Promise<this>;
|
|
655
670
|
duplicatePhase(): Promise<void>;
|
|
656
671
|
expectActionsDisabled(): Promise<void>;
|
|
657
672
|
expectTaskFailureManualPermission(): Promise<void>;
|