@digital-ai/devops-page-object-release 0.0.26 → 0.0.27
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 +9 -0
- package/dist/main.js +636 -59
- package/dist/main.js.map +1 -1
- package/dist/module.js +636 -59
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +154 -23
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -73,13 +73,13 @@ declare class VariablePage extends WithPage {
|
|
|
73
73
|
constructor(page: Page);
|
|
74
74
|
openVariable(variableKey: string): Promise<VariableModal>;
|
|
75
75
|
addNewVariable(variableName: string, labelname: string, description?: string): Promise<void>;
|
|
76
|
-
selectVariableTextType(
|
|
77
|
-
selectVariableListboxType(possiblevalue: Array<string> | string, defaultValue: string, required?:
|
|
76
|
+
selectVariableTextType(valueName: string, multiline?: boolean): Promise<void>;
|
|
77
|
+
selectVariableListboxType(possiblevalue: Array<string> | string, defaultValue: string, required?: true): Promise<void>;
|
|
78
78
|
selectVariablePasswordType(possiblevalue: string): Promise<void>;
|
|
79
79
|
selectVariableCheckboxType(): Promise<void>;
|
|
80
80
|
selectVariableNumberType(possiblevalue: string): Promise<void>;
|
|
81
81
|
selectVariableMultiListType(possiblevalue1: string, possiblevalue2: string): Promise<void>;
|
|
82
|
-
|
|
82
|
+
selectVariableByDate(date: string, monthYear: string): Promise<void>;
|
|
83
83
|
setDate(date?: string, monthYear?: string): Promise<void>;
|
|
84
84
|
addVariableKeyValueMap(keys1: string, values1: string): Promise<void>;
|
|
85
85
|
addVariableSet(possiblevalue1: string): Promise<void>;
|
|
@@ -92,8 +92,11 @@ declare class VariablePage extends WithPage {
|
|
|
92
92
|
clearReleaseVariableSearch(): Promise<void>;
|
|
93
93
|
switchPossibleValuesToVariable(variableName: string): Promise<void>;
|
|
94
94
|
selectVariableListboxTypeWithVariable(variableName: string, defaultValue: string, required?: boolean): Promise<void>;
|
|
95
|
+
clickMultiline(): Promise<void>;
|
|
95
96
|
searchFolderVariable(variableName: string): Promise<void>;
|
|
96
97
|
clearFolderVarSearch(): Promise<void>;
|
|
98
|
+
clickFolderVariableButton(): Promise<void>;
|
|
99
|
+
clickReleaseVariableButton(): Promise<void>;
|
|
97
100
|
}
|
|
98
101
|
declare class VariableModal extends WithPage {
|
|
99
102
|
dateUtil: DateUtil;
|
|
@@ -116,6 +119,7 @@ declare class VariableModal extends WithPage {
|
|
|
116
119
|
setLabel(labelValue: string): Promise<void>;
|
|
117
120
|
setDate(date: string, monthYear: string): Promise<void>;
|
|
118
121
|
setValue(value: string): Promise<void>;
|
|
122
|
+
clearValue(): Promise<void>;
|
|
119
123
|
clickMultiline(): Promise<void>;
|
|
120
124
|
setValueForMultilinePassword(value: string): Promise<void>;
|
|
121
125
|
}
|
|
@@ -178,7 +182,11 @@ declare class OverviewRail extends WithPage {
|
|
|
178
182
|
setValueFromPassword(propertyName: string, value: string): Promise<void>;
|
|
179
183
|
setAndCreateVariable(propertyName: string, variableName: string): Promise<void>;
|
|
180
184
|
setVariable(propertyName: string, variableName: string): Promise<void>;
|
|
185
|
+
expectVariable(propertyName: string): Promise<void>;
|
|
181
186
|
expectValueFromString(propertyName: string, propertyValue: string): Promise<void>;
|
|
187
|
+
expectTo(value: string): Promise<void>;
|
|
188
|
+
expectSubjectToBe(value: string): Promise<void>;
|
|
189
|
+
expectBodyToBe(value: string): Promise<void>;
|
|
182
190
|
setValueFromMap(propertyName: string, key: string, value: string): Promise<void>;
|
|
183
191
|
setScript(script: string): Promise<void>;
|
|
184
192
|
expectScriptToContain(script: string): Promise<void>;
|
|
@@ -193,7 +201,8 @@ declare class OverviewRail extends WithPage {
|
|
|
193
201
|
addDependency(): Promise<void>;
|
|
194
202
|
expectDependencyText(dependencies: string): Promise<void>;
|
|
195
203
|
clickEditDependency(dependencies: string): Promise<void>;
|
|
196
|
-
|
|
204
|
+
validateAutoCompleteOptionsInDescription(descriptionName: string, expectedVariableCount: number, variableToSelection?: string): Promise<void>;
|
|
205
|
+
validateAutoCompleteOptions(fieldLabel: string, value: string, expectedVariableCount: number, variableToSelect?: string): Promise<void>;
|
|
197
206
|
setReleaseTitle(releaseName: string): Promise<void>;
|
|
198
207
|
setFolder(folderName: string): Promise<void>;
|
|
199
208
|
setTemplate(templateName: string): Promise<void>;
|
|
@@ -209,6 +218,14 @@ declare class OverviewRail extends WithPage {
|
|
|
209
218
|
setNewAutoCompleteField(fieldLabel: string, value: string): Promise<void>;
|
|
210
219
|
setTextField(fieldID: string, value: string): Promise<void>;
|
|
211
220
|
abortButtonVisibility(visible?: boolean): Promise<void>;
|
|
221
|
+
setPattern(patternName: string): Promise<void>;
|
|
222
|
+
setStartDate(date: string): Promise<void>;
|
|
223
|
+
setEndDate(date: string): Promise<void>;
|
|
224
|
+
clickVariableButton(objectID: string, variableValue: string): Promise<void>;
|
|
225
|
+
enableFallback(): Promise<void>;
|
|
226
|
+
expectDescription(description: string): Promise<void>;
|
|
227
|
+
editDescription(description: string): Promise<void>;
|
|
228
|
+
expectedGateConditionDisplayed(title: string): Promise<void>;
|
|
212
229
|
}
|
|
213
230
|
declare class Dependency extends WithPage {
|
|
214
231
|
constructor(page: Page);
|
|
@@ -223,11 +240,11 @@ declare class Dependency extends WithPage {
|
|
|
223
240
|
expectVariableModeEnabled(mode: boolean): Promise<void>;
|
|
224
241
|
clickVariable(): Promise<void>;
|
|
225
242
|
expectMinimumOptions(options: any[]): Promise<void>;
|
|
226
|
-
enterNewVariable(
|
|
227
|
-
selectVariable(
|
|
243
|
+
enterNewVariable(variableName: string): Promise<void>;
|
|
244
|
+
selectVariable(variableName: string): Promise<void>;
|
|
228
245
|
}
|
|
229
246
|
declare class ActivityRail extends WithPage {
|
|
230
|
-
expectCommentToContain(
|
|
247
|
+
expectCommentToContain(comment: string): Promise<void>;
|
|
231
248
|
expectTaskIsCommentable(isCommentable: boolean): Promise<void>;
|
|
232
249
|
}
|
|
233
250
|
declare class AttachmentRail extends WithPage {
|
|
@@ -238,10 +255,18 @@ declare class AttachmentRail extends WithPage {
|
|
|
238
255
|
deleteAttachment(fileName: string): Promise<void>;
|
|
239
256
|
expectWithNoAttachment(tempFile: string): Promise<void>;
|
|
240
257
|
}
|
|
241
|
-
declare class
|
|
258
|
+
declare class SchedulingRail extends WithPage {
|
|
259
|
+
dateUtil: DateUtil;
|
|
242
260
|
constructor(page: Page);
|
|
243
261
|
expectStartDateToBeDisplayed(): Promise<void>;
|
|
244
262
|
expectEndDateToBeDisplayed(): Promise<void>;
|
|
263
|
+
switchWaitForScheduledDate(): Promise<void>;
|
|
264
|
+
expectWaitForScheduledDateToBeChecked(): Promise<void>;
|
|
265
|
+
expectWaitForScheduledDateToBeUnchecked(): Promise<void>;
|
|
266
|
+
setDueTime(day?: string, hour?: string, minute?: string): Promise<void>;
|
|
267
|
+
setStartDate(date: string, monthYear: string): Promise<void>;
|
|
268
|
+
setEndDate(date: string, monthYear: string): Promise<void>;
|
|
269
|
+
setDate(date: string, monthYear: string): Promise<void>;
|
|
245
270
|
}
|
|
246
271
|
type Rail = 'Overview' | 'Activity' | 'Config' | 'Scheduling' | 'Conditions' | 'Attributes' | 'Attach' | 'Tags';
|
|
247
272
|
declare class TaskDrawer extends WithPage {
|
|
@@ -256,13 +281,15 @@ declare class TaskDrawer extends WithPage {
|
|
|
256
281
|
confirm: Locator;
|
|
257
282
|
overview: OverviewRail;
|
|
258
283
|
skipMenu: Locator;
|
|
284
|
+
scheduling: SchedulingRail;
|
|
259
285
|
failMenu: Locator;
|
|
260
286
|
openMenu: Locator;
|
|
261
287
|
completeButton: Locator;
|
|
288
|
+
startButton: Locator;
|
|
262
289
|
constructor(page: Page);
|
|
263
290
|
openOverviewRail(): Promise<void>;
|
|
264
291
|
openActivityRail(): Promise<void>;
|
|
265
|
-
openSchedulingRail(): Promise<
|
|
292
|
+
openSchedulingRail(): Promise<SchedulingRail>;
|
|
266
293
|
openConditionRail(): Promise<void>;
|
|
267
294
|
openAttributesRail(): Promise<void>;
|
|
268
295
|
openAttachRail(): Promise<void>;
|
|
@@ -274,16 +301,13 @@ declare class TaskDrawer extends WithPage {
|
|
|
274
301
|
failTask(comment: string): Promise<void>;
|
|
275
302
|
completeTask(comment: string): Promise<void>;
|
|
276
303
|
expectTaskTitle(taskTitle: string): Promise<void>;
|
|
304
|
+
setTitle(title: string): Promise<void>;
|
|
277
305
|
expectTypeToContain(taskType: string): Promise<void>;
|
|
278
306
|
clickExpand(): Promise<void>;
|
|
279
307
|
clickShrink(): Promise<void>;
|
|
280
308
|
expectAssignedTo(username: string): Promise<void>;
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
expectCommentsToContain(text: string): Promise<void>;
|
|
284
|
-
switchWaitForScheduledDate(): Promise<void>;
|
|
285
|
-
expectWaitForScheduledDateToBeChecked(): Promise<void>;
|
|
286
|
-
expectWaitForScheduledDateToBeUnchecked(): Promise<void>;
|
|
309
|
+
expectStartButtonToBeEnabled(isEnabled?: boolean): Promise<void>;
|
|
310
|
+
startTask(comment: string): Promise<void>;
|
|
287
311
|
clickOnStartDate(): Promise<void>;
|
|
288
312
|
removeStartDate(): Promise<void>;
|
|
289
313
|
setStartDate(date: string): Promise<void>;
|
|
@@ -297,11 +321,25 @@ declare class TaskDrawer extends WithPage {
|
|
|
297
321
|
}
|
|
298
322
|
declare class ReleaseGanttPage extends WithPage {
|
|
299
323
|
releaseHeader: Locator;
|
|
324
|
+
taskDrawer: TaskDrawer;
|
|
300
325
|
constructor(page: Page);
|
|
301
326
|
enableShowDates(): Promise<void>;
|
|
302
327
|
disableShowDates(): Promise<void>;
|
|
303
328
|
expectPlanningDataColumnsHidden(): Promise<void>;
|
|
304
329
|
expectPlanningDateColumnsShown(): Promise<void>;
|
|
330
|
+
expectReleaseOnBreadcrumb(title: string): Promise<void>;
|
|
331
|
+
expectPhaseDisplayed(phaseName: string): Promise<void>;
|
|
332
|
+
expectTaskDisplayed(taskName: string, isDisplayed?: boolean): Promise<void>;
|
|
333
|
+
expandGanttTree(title: string): Promise<void>;
|
|
334
|
+
expectDifferentWidth(title1: string, title2: string): Promise<void>;
|
|
335
|
+
expectSameWidth(title1: string, title2: string): Promise<void>;
|
|
336
|
+
expectElementWithClasses(title: string, classes: Array<string>): Promise<void>;
|
|
337
|
+
resizeToDayIndex(title: string, index: number): Promise<void>;
|
|
338
|
+
expectLinksToBeDisplayed(countOfLinks: number): Promise<void>;
|
|
339
|
+
expectLeftHandleVisibility(title: string, visible: boolean): Promise<void>;
|
|
340
|
+
expectRightHandleVisibility(title: string, visible: boolean): Promise<void>;
|
|
341
|
+
openTaskDrawer(title: string): Promise<TaskDrawer>;
|
|
342
|
+
openPhaseDetails(phaseName: string): Promise<void>;
|
|
305
343
|
getRow(phaseName: string): GanttRow;
|
|
306
344
|
}
|
|
307
345
|
declare class GanttRow extends WithPage {
|
|
@@ -348,6 +386,13 @@ declare class ReleasePropertiesPage extends WithPage {
|
|
|
348
386
|
setDueDate(hrs?: string, min?: string, meridian?: string): Promise<void>;
|
|
349
387
|
checkAbortOnFailure(): Promise<void>;
|
|
350
388
|
expectDescriptionToBe(description: string): Promise<void>;
|
|
389
|
+
expectReleaseNameToBe(name: string): Promise<void>;
|
|
390
|
+
expectStartDateReadonly(): Promise<void>;
|
|
391
|
+
expectEndDateReadonly(): Promise<void>;
|
|
392
|
+
setOwner(user: string): Promise<void>;
|
|
393
|
+
expectPageTitleToBeInBreadcrumbLink(releaseName: string): Promise<void>;
|
|
394
|
+
reloadPage(): Promise<void>;
|
|
395
|
+
expectOwnerToBe(user: string): Promise<void>;
|
|
351
396
|
}
|
|
352
397
|
declare class ReleaseTeamsAndPermissionsPage extends WithPage {
|
|
353
398
|
saveButton: Locator;
|
|
@@ -355,6 +400,37 @@ declare class ReleaseTeamsAndPermissionsPage extends WithPage {
|
|
|
355
400
|
constructor(page: Page);
|
|
356
401
|
expectSaveButtonDisabled(): Promise<void>;
|
|
357
402
|
}
|
|
403
|
+
declare class ReleaseTableViewPage extends WithPage {
|
|
404
|
+
commentBox: Locator;
|
|
405
|
+
dateUtil: DateUtil;
|
|
406
|
+
refreshButton: Locator;
|
|
407
|
+
taskDrawer: TaskDrawer;
|
|
408
|
+
constructor(page: Page);
|
|
409
|
+
openContextMenuForTask(taskTitle: string): Promise<void>;
|
|
410
|
+
callMenuOptionsForTask(taskTitle: string, option: string, taskGroup?: string, taskType?: string): Promise<void>;
|
|
411
|
+
expectAssignToUser(taskTitle: string, username: string): Promise<void>;
|
|
412
|
+
expectToHasGateIcon(taskTitle: string): Promise<void>;
|
|
413
|
+
expectTaskRowCountToBe(title: string, expectedCount: number): Promise<void>;
|
|
414
|
+
setHeaderFilter(columnTitle: string, valueToFilter: string): Promise<void>;
|
|
415
|
+
expectRowCountToBe(cellCount: number): Promise<void>;
|
|
416
|
+
filterStartDate(date: string, monthYear: string): Promise<void>;
|
|
417
|
+
filterEndDate(date: string, monthYear: string): Promise<void>;
|
|
418
|
+
openTaskDrawer(taskTitle: string): Promise<TaskDrawer>;
|
|
419
|
+
collapseNthRowByIndex(Indexnumber: number): Promise<void>;
|
|
420
|
+
closePhaseModal(): Promise<void>;
|
|
421
|
+
expectTaskToHaveStatus(taskTitle: string, status: string): Promise<void>;
|
|
422
|
+
expectOverdueOnEndDate(taskTitle: string): Promise<void>;
|
|
423
|
+
selectTask(taskTitle: string): Promise<void>;
|
|
424
|
+
expectSelectedTasksCounter(text: string): Promise<void>;
|
|
425
|
+
clearSelection(): Promise<this>;
|
|
426
|
+
assignSelectedTasks(owner?: string, team?: string): Promise<this>;
|
|
427
|
+
expectSuccessMessage(successMessage: string): Promise<this>;
|
|
428
|
+
completeSelectedTasks(comment: string): Promise<this>;
|
|
429
|
+
selectFromMoreActions(menuItem: string): Promise<this>;
|
|
430
|
+
addCommentToSelectedTask(comment: string): Promise<this>;
|
|
431
|
+
selectSubtasks(item: string): Promise<this>;
|
|
432
|
+
shiftSelectFromTo(taskFrom: string, taskTo: string): Promise<this>;
|
|
433
|
+
}
|
|
358
434
|
declare class Util extends WithPage {
|
|
359
435
|
tempDir: string;
|
|
360
436
|
content: string;
|
|
@@ -374,8 +450,10 @@ declare class Util extends WithPage {
|
|
|
374
450
|
clearSearchFilter(): Promise<void>;
|
|
375
451
|
}
|
|
376
452
|
declare class ReleasePage extends WithPage {
|
|
453
|
+
addPhaseBtn: Locator;
|
|
377
454
|
createPage: ReleaseCreatePage;
|
|
378
455
|
ganttPage: ReleaseGanttPage;
|
|
456
|
+
tableView: ReleaseTableViewPage;
|
|
379
457
|
taskDrawer: TaskDrawer;
|
|
380
458
|
teamsPermissions: ReleaseTeamsAndPermissionsPage;
|
|
381
459
|
phaseTitle: Locator;
|
|
@@ -393,6 +471,7 @@ declare class ReleasePage extends WithPage {
|
|
|
393
471
|
start(): Promise<void>;
|
|
394
472
|
waitForCompletion(timeout?: number): Promise<void>;
|
|
395
473
|
waitForTaskCompleted(taskTitle: string, timeout?: number): Promise<void>;
|
|
474
|
+
waitForTaskNeedsInput(taskTitle: string): Promise<void>;
|
|
396
475
|
waitForTaskCompletedInAdvance(taskTitle: string, timeout?: number): Promise<void>;
|
|
397
476
|
waitForTaskInProgress(taskTitle: string, timeout?: number): Promise<void>;
|
|
398
477
|
waitForTaskFailed(taskTitle: string, timeout?: number): Promise<void>;
|
|
@@ -422,6 +501,7 @@ declare class ReleasePage extends WithPage {
|
|
|
422
501
|
expandAllTaskView(): Promise<void>;
|
|
423
502
|
expectTemplateLabelNotToBePresent(): Promise<void>;
|
|
424
503
|
expectAbortedStatusToBePresent(): Promise<void>;
|
|
504
|
+
expectInProgressStatusToBePresent(): Promise<void>;
|
|
425
505
|
openTableView(): Promise<void>;
|
|
426
506
|
openPlannerView(): Promise<void>;
|
|
427
507
|
expandGanttFolder(): Promise<void>;
|
|
@@ -439,6 +519,8 @@ declare class ReleasePage extends WithPage {
|
|
|
439
519
|
expectTaskToHaveBeenDelayed(title: string): Promise<void>;
|
|
440
520
|
expectOnePhaseDisplayed(): Promise<void>;
|
|
441
521
|
restartPhases(): Promise<RestartPhaseModel>;
|
|
522
|
+
expectAddPhaseNotVisible(): Promise<void>;
|
|
523
|
+
expectAddTaskNotVisible(): Promise<void>;
|
|
442
524
|
}
|
|
443
525
|
declare class Phase extends WithPage {
|
|
444
526
|
commentBox: Locator;
|
|
@@ -459,6 +541,9 @@ declare class Phase extends WithPage {
|
|
|
459
541
|
expectToHaveTitle(phaseTitle: string): Promise<void>;
|
|
460
542
|
openContextMenuForTask(taskTitle: string): Promise<void>;
|
|
461
543
|
skipFromContextMenu(comment: string, taskTitle: string): Promise<void>;
|
|
544
|
+
completeFromContextMenu(taskTitle: string, comment: string): Promise<void>;
|
|
545
|
+
assignToMeFromContextMenu(taskTitle: string): Promise<void>;
|
|
546
|
+
duplicateFromContextMenu(taskTitle: string): Promise<void>;
|
|
462
547
|
expectTemplateLabelNotToBePresent(): Promise<void>;
|
|
463
548
|
openPhaseDetails(): Promise<void>;
|
|
464
549
|
close(): Promise<void>;
|
|
@@ -474,6 +559,8 @@ declare class Phase extends WithPage {
|
|
|
474
559
|
deleteTaskInPhase(taskName: string): Promise<void>;
|
|
475
560
|
deletePhase(phaseName: string): Promise<void>;
|
|
476
561
|
expectCompletedPhase(): Promise<void>;
|
|
562
|
+
clickViewAllCompletedPhase(): Promise<void>;
|
|
563
|
+
expectTaskToBePresent(taskName: string): Promise<void>;
|
|
477
564
|
}
|
|
478
565
|
declare class RestartPhaseModel extends WithPage {
|
|
479
566
|
continueBtn: Locator;
|
|
@@ -507,6 +594,7 @@ declare class FolderDeliveryPage extends WithPage {
|
|
|
507
594
|
filterDeliveryByName(deliveryName: string): Promise<void>;
|
|
508
595
|
editDelivery(deliveryName: string, newDeliveryName: string): Promise<void>;
|
|
509
596
|
deleteDelivery(deliveryName: string): Promise<void>;
|
|
597
|
+
expectDeliveryDisplayed(deliveryName: string): Promise<void>;
|
|
510
598
|
}
|
|
511
599
|
declare class FolderGroupsPage extends WithPage {
|
|
512
600
|
util: Util;
|
|
@@ -607,6 +695,8 @@ declare class FolderPage extends WithPage {
|
|
|
607
695
|
openRelease(): Promise<void>;
|
|
608
696
|
expectReleaseStarted(releaseName: string): Promise<void>;
|
|
609
697
|
openVariables(): Promise<VariablePage>;
|
|
698
|
+
openCustomDashboard(): Promise<void>;
|
|
699
|
+
openReleaseByName(releaseName: string): Promise<void>;
|
|
610
700
|
}
|
|
611
701
|
declare class GlobalVariable extends WithPage {
|
|
612
702
|
addListValue: Locator;
|
|
@@ -1140,6 +1230,7 @@ declare class Navigation {
|
|
|
1140
1230
|
releaseCalendarPage: ReleaseCalendarPage;
|
|
1141
1231
|
releaseGroupPage: ReleaseGroupPage;
|
|
1142
1232
|
releaseGroupTimelinePage: ReleaseGroupTimelinePage;
|
|
1233
|
+
releaseGanttPage: ReleaseGanttPage;
|
|
1143
1234
|
releaseListPage: ReleasesListPage;
|
|
1144
1235
|
rolesPage: RolesPage;
|
|
1145
1236
|
util: Util;
|
|
@@ -1149,6 +1240,7 @@ declare class Navigation {
|
|
|
1149
1240
|
openFolder(id: string): Promise<FolderPage>;
|
|
1150
1241
|
openVariablesOnReleasePage(releaseId: string): Promise<ReleaseVariablesPage>;
|
|
1151
1242
|
openRelease(id: string): Promise<ReleasePage>;
|
|
1243
|
+
openPlannerView(releaseId: string): Promise<ReleaseGanttPage>;
|
|
1152
1244
|
openApplicationsPage(): Promise<ApplicationsPage>;
|
|
1153
1245
|
openPersonalAccessTokenPage(): Promise<PersonalAccessTokenPage>;
|
|
1154
1246
|
gotoHomePage(): Promise<void>;
|
|
@@ -1199,7 +1291,7 @@ interface BaseConfigurationItem {
|
|
|
1199
1291
|
type: string;
|
|
1200
1292
|
}
|
|
1201
1293
|
interface PlanItem extends BaseConfigurationItem {
|
|
1202
|
-
title
|
|
1294
|
+
title?: string;
|
|
1203
1295
|
}
|
|
1204
1296
|
interface Release extends PlanItem {
|
|
1205
1297
|
allowConcurrentReleasesFromTrigger: boolean;
|
|
@@ -1216,6 +1308,7 @@ interface Release extends PlanItem {
|
|
|
1216
1308
|
plannedDuration: number;
|
|
1217
1309
|
queryableEndDate?: Date;
|
|
1218
1310
|
queryableStartDate?: Date;
|
|
1311
|
+
realFlagStatus?: string;
|
|
1219
1312
|
scheduledStartDate?: Date;
|
|
1220
1313
|
scriptUserPassword?: string;
|
|
1221
1314
|
scriptUsername?: string;
|
|
@@ -1230,24 +1323,26 @@ interface Release extends PlanItem {
|
|
|
1230
1323
|
type VariableValues = Record<string, any>;
|
|
1231
1324
|
interface Variable extends BaseConfigurationItem {
|
|
1232
1325
|
description?: string;
|
|
1326
|
+
folderId?: any;
|
|
1233
1327
|
key: string;
|
|
1234
1328
|
label?: string;
|
|
1235
1329
|
multiline?: boolean;
|
|
1236
1330
|
requiresValue?: boolean;
|
|
1237
1331
|
showOnReleaseStart?: boolean;
|
|
1238
|
-
value?:
|
|
1332
|
+
value?: unknown;
|
|
1239
1333
|
valueProvider?: VariableValueProvider;
|
|
1240
1334
|
}
|
|
1241
1335
|
interface VariableValueProvider {
|
|
1242
1336
|
id: string;
|
|
1243
1337
|
type?: string;
|
|
1244
|
-
values?:
|
|
1338
|
+
values?: unknown;
|
|
1245
1339
|
variable: string;
|
|
1246
1340
|
}
|
|
1247
1341
|
interface Container extends PlanItem {
|
|
1248
1342
|
tasks: Array<Task>;
|
|
1249
1343
|
}
|
|
1250
1344
|
interface _Phase2 extends Container {
|
|
1345
|
+
color: string;
|
|
1251
1346
|
description: string;
|
|
1252
1347
|
dueDate?: Date;
|
|
1253
1348
|
endDate?: Date;
|
|
@@ -1272,6 +1367,7 @@ interface Folder extends PlanItem {
|
|
|
1272
1367
|
variables?: Array<Variable>;
|
|
1273
1368
|
}
|
|
1274
1369
|
interface Task extends PlanItem {
|
|
1370
|
+
addresses: Array<string>;
|
|
1275
1371
|
attachments: Array<Attachment>;
|
|
1276
1372
|
body?: string;
|
|
1277
1373
|
comments: Array<Comment>;
|
|
@@ -1284,6 +1380,7 @@ interface Task extends PlanItem {
|
|
|
1284
1380
|
flagStatus?: string;
|
|
1285
1381
|
folderId?: string;
|
|
1286
1382
|
links: Array<Link>;
|
|
1383
|
+
newReleaseTitle?: string;
|
|
1287
1384
|
owner?: string;
|
|
1288
1385
|
plannedDuration: number;
|
|
1289
1386
|
precondition: string;
|
|
@@ -1296,7 +1393,9 @@ interface Task extends PlanItem {
|
|
|
1296
1393
|
tags?: Array<string>;
|
|
1297
1394
|
tasks: Array<Task>;
|
|
1298
1395
|
team: string;
|
|
1299
|
-
|
|
1396
|
+
templateId?: string;
|
|
1397
|
+
templateVariables?: Array<Variable>;
|
|
1398
|
+
variables?: Array<Variable>;
|
|
1300
1399
|
waitForScheduledStartDate?: boolean;
|
|
1301
1400
|
}
|
|
1302
1401
|
type Condition = PlanItem;
|
|
@@ -1307,11 +1406,22 @@ interface Comment extends PlanItem {
|
|
|
1307
1406
|
date?: Date;
|
|
1308
1407
|
text?: string;
|
|
1309
1408
|
}
|
|
1310
|
-
interface Dashboard extends
|
|
1409
|
+
interface Dashboard extends BaseConfigurationItem {
|
|
1410
|
+
owner?: string;
|
|
1411
|
+
parentId?: string;
|
|
1311
1412
|
tiles: Array<Tile>;
|
|
1413
|
+
title?: string;
|
|
1312
1414
|
}
|
|
1313
1415
|
type ReleaseExtension = BaseConfigurationItem;
|
|
1314
|
-
|
|
1416
|
+
interface Tile extends BaseConfigurationItem {
|
|
1417
|
+
col: number;
|
|
1418
|
+
password?: string;
|
|
1419
|
+
row: number;
|
|
1420
|
+
title: string;
|
|
1421
|
+
username?: string;
|
|
1422
|
+
variableMapping: Record<string, any>;
|
|
1423
|
+
width: number;
|
|
1424
|
+
}
|
|
1315
1425
|
interface PythonScript extends BaseConfigurationItem {
|
|
1316
1426
|
customScriptTask: string;
|
|
1317
1427
|
result: string;
|
|
@@ -1348,9 +1458,10 @@ interface FixtureConfiguration extends PlanItem {
|
|
|
1348
1458
|
folderId?: string;
|
|
1349
1459
|
password?: string;
|
|
1350
1460
|
proxyHost?: string;
|
|
1351
|
-
proxyPassword
|
|
1461
|
+
proxyPassword?: string;
|
|
1352
1462
|
proxyPort?: string;
|
|
1353
|
-
proxyUsername
|
|
1463
|
+
proxyUsername?: string;
|
|
1464
|
+
scriptLocation?: string;
|
|
1354
1465
|
url: string;
|
|
1355
1466
|
username?: string;
|
|
1356
1467
|
}
|
|
@@ -1376,6 +1487,7 @@ interface FixtureActivityLog extends PlanItem {
|
|
|
1376
1487
|
activityType: string;
|
|
1377
1488
|
eventTime: Date;
|
|
1378
1489
|
message: string;
|
|
1490
|
+
targetId: string;
|
|
1379
1491
|
username: string;
|
|
1380
1492
|
}
|
|
1381
1493
|
interface FixtureRoles {
|
|
@@ -1409,6 +1521,20 @@ interface ReleaseGroup extends PlanItem {
|
|
|
1409
1521
|
interface RiskProfile extends PlanItem {
|
|
1410
1522
|
riskProfileAssessors?: Array<RiskProfile>;
|
|
1411
1523
|
}
|
|
1524
|
+
interface Delivery extends PlanItem {
|
|
1525
|
+
deliveryPattern?: string;
|
|
1526
|
+
folderId: string;
|
|
1527
|
+
patternId?: string;
|
|
1528
|
+
patternTitle?: string;
|
|
1529
|
+
plannedDuration: number;
|
|
1530
|
+
shouldResetPattern?: boolean;
|
|
1531
|
+
stages: Array<Stage>;
|
|
1532
|
+
status: string;
|
|
1533
|
+
}
|
|
1534
|
+
interface Stage extends PlanItem {
|
|
1535
|
+
title: string;
|
|
1536
|
+
type: 'delivery.Stage';
|
|
1537
|
+
}
|
|
1412
1538
|
type ReleaseFixtures = {
|
|
1413
1539
|
fixtures: Fixtures;
|
|
1414
1540
|
loginPage: LoginPage;
|
|
@@ -1425,10 +1551,12 @@ declare class Fixtures {
|
|
|
1425
1551
|
addSystemTeams(teams: Array<FixtureTeam>): Array<FixtureTeam>;
|
|
1426
1552
|
folder(folder: Folder): Promise<APIResponse>;
|
|
1427
1553
|
createFolder(folderJson: Folder): Promise<APIResponse>;
|
|
1554
|
+
folderVariable(variable: any[]): Promise<APIResponse>;
|
|
1428
1555
|
trigger(trigger: FixtureTrigger): Promise<APIResponse>;
|
|
1429
1556
|
roles(rolePrincipals: FixtureRoles): Promise<APIResponse>;
|
|
1430
1557
|
permissions(rolePermissions: FixturePermissions): Promise<APIResponse>;
|
|
1431
1558
|
globalRoles(rolePrincipals: FixtureGlobalRole): Promise<APIResponse>;
|
|
1559
|
+
dashboard(dashboard: Dashboard): Promise<APIResponse>;
|
|
1432
1560
|
deleteGlobalRole(roleName: string): Promise<APIResponse>;
|
|
1433
1561
|
updateUserProfile(username: string, profile: any): Promise<APIResponse>;
|
|
1434
1562
|
deleteRole(roleName: string): Promise<APIResponse>;
|
|
@@ -1444,6 +1572,9 @@ declare class Fixtures {
|
|
|
1444
1572
|
addDefaultSmtpServer(): Promise<APIResponse>;
|
|
1445
1573
|
riskProfile(riskProfile: RiskProfile): Promise<APIResponse>;
|
|
1446
1574
|
deleteRiskProfile(riskProfileId: string): Promise<APIResponse>;
|
|
1575
|
+
createDeliveryPattern(delivery: Delivery, shouldResetPattern?: boolean): Promise<APIResponse>;
|
|
1576
|
+
createDelivery(delivery: Delivery): Promise<APIResponse>;
|
|
1577
|
+
deleteDelivery(delivery: Delivery): Promise<APIResponse>;
|
|
1447
1578
|
cleanAll(): Promise<void>;
|
|
1448
1579
|
addJiraTask(): Promise<string>;
|
|
1449
1580
|
addUser(username: string, password: string): Promise<void>;
|