@digital-ai/devops-page-object-release 0.0.15 → 0.0.16
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 +11 -0
- package/dist/main.js +215 -10
- package/dist/main.js.map +1 -1
- package/dist/module.js +215 -10
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +31 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -134,6 +134,10 @@ declare class TaskDrawer extends WithPage {
|
|
|
134
134
|
expectTypeToContain(taskType: string): Promise<void>;
|
|
135
135
|
clickExpand(): Promise<void>;
|
|
136
136
|
clickShrink(): Promise<void>;
|
|
137
|
+
expectAssignedTo(username: string): Promise<void>;
|
|
138
|
+
assignToMe(userName: string, existingUsername: string): Promise<void>;
|
|
139
|
+
setFlag(flagName: string, flagComment: string): Promise<void>;
|
|
140
|
+
expectFlaggedWith(flagName: string, flagComment: string): Promise<void>;
|
|
137
141
|
}
|
|
138
142
|
declare class ReleasePropertiesPage extends WithPage {
|
|
139
143
|
constructor(page: Page);
|
|
@@ -149,6 +153,16 @@ declare class ReleasePropertiesPage extends WithPage {
|
|
|
149
153
|
expectWithNoAttachment(filename: string): Promise<void>;
|
|
150
154
|
downloadFile(filename: string): Promise<void>;
|
|
151
155
|
deleteAttachment(fileName: string): Promise<void>;
|
|
156
|
+
expectVariableDisplayed(variable: string, present: boolean): Promise<void>;
|
|
157
|
+
setScheduledStartDate(date?: string, monthYear?: string): Promise<void>;
|
|
158
|
+
setScheduledStartTime(hrs?: string, mins?: string, meridian?: string): Promise<void>;
|
|
159
|
+
setDuration(days?: string, hours?: string, mins?: string): Promise<void>;
|
|
160
|
+
expectScheduledStartDateToBe(date: string): Promise<void>;
|
|
161
|
+
expectScheduledStartTimeToBe(date: string): Promise<void>;
|
|
162
|
+
expectDueDateToBe(date: string): Promise<void>;
|
|
163
|
+
expectedDueDateTime(time: string): Promise<void>;
|
|
164
|
+
expectDurationToBe(duration: string): Promise<void>;
|
|
165
|
+
setDueDate(hrs?: string, min?: string, meridian?: string): Promise<void>;
|
|
152
166
|
}
|
|
153
167
|
declare class ReleasePage extends WithPage {
|
|
154
168
|
taskDrawer: TaskDrawer;
|
|
@@ -158,6 +172,9 @@ declare class ReleasePage extends WithPage {
|
|
|
158
172
|
openTriggers(): Promise<TriggersPage>;
|
|
159
173
|
abort(comment?: string): Promise<void>;
|
|
160
174
|
getPhase(phaseName: string): Phase;
|
|
175
|
+
expectNotFlagged(): Promise<void>;
|
|
176
|
+
expectFlagOnTaskCard(): Promise<void>;
|
|
177
|
+
refresh(): Promise<void>;
|
|
161
178
|
start(): Promise<void>;
|
|
162
179
|
waitForCompletion(timeout: number): Promise<void>;
|
|
163
180
|
waitForTaskCompleted(taskTitle: string): Promise<void>;
|
|
@@ -166,6 +183,9 @@ declare class ReleasePage extends WithPage {
|
|
|
166
183
|
waitForTaskAborted(taskTitle: string): Promise<void>;
|
|
167
184
|
waitForStatusLine(statusLine: string): Promise<void>;
|
|
168
185
|
waitForTaskStarted(taskTitle: string): Promise<void>;
|
|
186
|
+
waitForTaskPlanned(title: string): Promise<void>;
|
|
187
|
+
openManualTaskDetails(title: string): Promise<void>;
|
|
188
|
+
reopenTask(comment: string): Promise<void>;
|
|
169
189
|
openTaskDrawer(taskName: string): Promise<TaskDrawer>;
|
|
170
190
|
openTaskDrawerFromTableView(taskName: string): Promise<TaskDrawer>;
|
|
171
191
|
openTaskDrawerFromGrantt(taskName: string): Promise<TaskDrawer>;
|
|
@@ -184,6 +204,7 @@ declare class ReleasePage extends WithPage {
|
|
|
184
204
|
openPlannerView(): Promise<void>;
|
|
185
205
|
expandGanttFolder(): Promise<void>;
|
|
186
206
|
expectTitleToBeInBreadcrumbLink(title: string): Promise<void>;
|
|
207
|
+
expectHasPhase(title: string): Promise<void>;
|
|
187
208
|
}
|
|
188
209
|
declare class Phase extends WithPage {
|
|
189
210
|
constructor(page: Page, phaseName: string);
|
|
@@ -268,13 +289,21 @@ declare class TaskListPage extends WithPage {
|
|
|
268
289
|
taskDrawer: TaskDrawer;
|
|
269
290
|
constructor(page: Page);
|
|
270
291
|
openTask(taskName: string): Promise<void>;
|
|
292
|
+
skip(taskName: string, comment: string): Promise<void>;
|
|
293
|
+
waitForTaskInProgress(taskName: string): Promise<void>;
|
|
271
294
|
openTaskInReleaseView(taskName: string): Promise<void>;
|
|
272
295
|
openCalendarViaTaskDueDate(taskName: string): Promise<void>;
|
|
296
|
+
openTaskDrawer(taskName: string): Promise<void>;
|
|
273
297
|
filterTaskByTitle(taskname: string): Promise<void>;
|
|
274
298
|
filterTasksByTag(tag: string, taskTitleForValidation: string): Promise<void>;
|
|
275
299
|
filterTasksByReleaseTitle(releaseTitle: string): Promise<void>;
|
|
276
300
|
openSingleTask(taskId: string, showDetails?: boolean): Promise<void>;
|
|
277
301
|
expectReleaseLinksDisplayed(releaseTitle: string, displayed?: boolean): Promise<void>;
|
|
302
|
+
openTaskList(): Promise<void>;
|
|
303
|
+
clickOnAssigneeButton(title: string): Promise<void>;
|
|
304
|
+
assignTaskToMe(title: string): Promise<void>;
|
|
305
|
+
expectTaskAssignedToMe(title: string): Promise<void>;
|
|
306
|
+
expectTaskAssignedTo(title: string, user: string): Promise<void>;
|
|
278
307
|
expectTaskTitle(taskTitle: string): Promise<void>;
|
|
279
308
|
expectGroupView(expected?: boolean): Promise<void>;
|
|
280
309
|
changeGroupView(): Promise<void>;
|
|
@@ -433,6 +462,7 @@ declare class LoginPage extends WithPage {
|
|
|
433
462
|
* @param username
|
|
434
463
|
*/
|
|
435
464
|
expectToBeLogged(username: string): Promise<void>;
|
|
465
|
+
closePendoModalWindow(): Promise<void>;
|
|
436
466
|
}
|
|
437
467
|
interface BaseConfigurationItem {
|
|
438
468
|
id: string;
|
|
@@ -516,7 +546,7 @@ interface Task extends PlanItem {
|
|
|
516
546
|
status: TaskStatus;
|
|
517
547
|
tags?: Array<string>;
|
|
518
548
|
tasks: Array<Task>;
|
|
519
|
-
team:
|
|
549
|
+
team: string;
|
|
520
550
|
templateVariables: Array<Variable>;
|
|
521
551
|
}
|
|
522
552
|
type Condition = PlanItem;
|