@digital-ai/devops-page-object-release 0.0.25 → 0.0.26
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 +7 -0
- package/dist/main.js +580 -44
- package/dist/main.js.map +1 -1
- package/dist/module.js +580 -44
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +158 -24
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ declare class WithPage {
|
|
|
6
6
|
constructor(page: Page);
|
|
7
7
|
}
|
|
8
8
|
declare class ReleaseCreatePage extends WithPage {
|
|
9
|
+
releaseForm: Locator;
|
|
9
10
|
constructor(page: Page);
|
|
10
11
|
setName(releaseName: string): Promise<void>;
|
|
11
12
|
setDescription(description: string): Promise<void>;
|
|
@@ -15,6 +16,7 @@ declare class ReleaseCreatePage extends WithPage {
|
|
|
15
16
|
selectTemplate(templateName: string): Promise<void>;
|
|
16
17
|
removeTemplate(): Promise<void>;
|
|
17
18
|
setValueForVariables(variableName: string, value: string): Promise<void>;
|
|
19
|
+
setVariable(variable: string, value: string): Promise<void>;
|
|
18
20
|
}
|
|
19
21
|
declare class ReleasesListPage extends WithPage {
|
|
20
22
|
releaseCreatePage: ReleaseCreatePage;
|
|
@@ -63,13 +65,13 @@ declare class DateUtil extends WithPage {
|
|
|
63
65
|
expectNoDate(selector: Locator): Promise<void>;
|
|
64
66
|
expectInputContainingDate(inputLocator: Locator, date: Date | string): Promise<void>;
|
|
65
67
|
}
|
|
66
|
-
declare class
|
|
68
|
+
declare class VariablePage extends WithPage {
|
|
67
69
|
addListValue: Locator;
|
|
68
70
|
addVariableValue: Locator;
|
|
69
71
|
listAddButton: Locator;
|
|
70
72
|
dateUtil: DateUtil;
|
|
71
73
|
constructor(page: Page);
|
|
72
|
-
openVariable(variableKey: string): Promise<
|
|
74
|
+
openVariable(variableKey: string): Promise<VariableModal>;
|
|
73
75
|
addNewVariable(variableName: string, labelname: string, description?: string): Promise<void>;
|
|
74
76
|
selectVariableTextType(valuename: string): Promise<void>;
|
|
75
77
|
selectVariableListboxType(possiblevalue: Array<string> | string, defaultValue: string, required?: boolean): Promise<void>;
|
|
@@ -83,22 +85,24 @@ declare class ReleaseVariablesPage extends WithPage {
|
|
|
83
85
|
addVariableSet(possiblevalue1: string): Promise<void>;
|
|
84
86
|
submitTheVariable(): Promise<void>;
|
|
85
87
|
expectVariableWithNameValueAndType(name: string, value: string, type: string): Promise<void>;
|
|
86
|
-
clickEditVariable(variableName: string): Promise<
|
|
88
|
+
clickEditVariable(variableName: string): Promise<VariableModal>;
|
|
87
89
|
clickDeleteVariable(variableName: string): Promise<DeleteVariableModel>;
|
|
88
90
|
expectVariablesCountToBe(count: number): Promise<void>;
|
|
89
91
|
expectVariableNotPresent(variableName: string): Promise<void>;
|
|
90
|
-
|
|
92
|
+
clearReleaseVariableSearch(): Promise<void>;
|
|
91
93
|
switchPossibleValuesToVariable(variableName: string): Promise<void>;
|
|
92
94
|
selectVariableListboxTypeWithVariable(variableName: string, defaultValue: string, required?: boolean): Promise<void>;
|
|
95
|
+
searchFolderVariable(variableName: string): Promise<void>;
|
|
96
|
+
clearFolderVarSearch(): Promise<void>;
|
|
93
97
|
}
|
|
94
|
-
declare class
|
|
98
|
+
declare class VariableModal extends WithPage {
|
|
95
99
|
dateUtil: DateUtil;
|
|
96
100
|
constructor(page: Page);
|
|
97
101
|
expectValueToBe(value: string): Promise<void>;
|
|
98
102
|
expectValueToContain(value: string): Promise<void>;
|
|
99
103
|
close(): Promise<void>;
|
|
100
104
|
expectPossibleValues(possiblevalue: Array<string> | string): Promise<void>;
|
|
101
|
-
expectPossibleVariableValues(
|
|
105
|
+
expectPossibleVariableValues(possibleVariableValue: string): Promise<void>;
|
|
102
106
|
addPossibleValue(value: Array<string> | string): Promise<void>;
|
|
103
107
|
selectVariableValue(defaultValue: string): Promise<void>;
|
|
104
108
|
save(): Promise<void>;
|
|
@@ -112,9 +116,11 @@ declare class ReleaseVariableModal extends WithPage {
|
|
|
112
116
|
setLabel(labelValue: string): Promise<void>;
|
|
113
117
|
setDate(date: string, monthYear: string): Promise<void>;
|
|
114
118
|
setValue(value: string): Promise<void>;
|
|
119
|
+
clickMultiline(): Promise<void>;
|
|
120
|
+
setValueForMultilinePassword(value: string): Promise<void>;
|
|
115
121
|
}
|
|
116
122
|
declare class DeleteVariableModel extends WithPage {
|
|
117
|
-
model:
|
|
123
|
+
model: VariableModal;
|
|
118
124
|
dateUtil: DateUtil;
|
|
119
125
|
constructor(page: Page);
|
|
120
126
|
deleteVariable(): Promise<void>;
|
|
@@ -188,6 +194,21 @@ declare class OverviewRail extends WithPage {
|
|
|
188
194
|
expectDependencyText(dependencies: string): Promise<void>;
|
|
189
195
|
clickEditDependency(dependencies: string): Promise<void>;
|
|
190
196
|
validateAutoCompleteOptions(descriptionName: string, expectedDescription: string, variableSelection: string): Promise<void>;
|
|
197
|
+
setReleaseTitle(releaseName: string): Promise<void>;
|
|
198
|
+
setFolder(folderName: string): Promise<void>;
|
|
199
|
+
setTemplate(templateName: string): Promise<void>;
|
|
200
|
+
clearTemplate(): Promise<void>;
|
|
201
|
+
errorMsgVisible(errorMessage: string): Promise<void>;
|
|
202
|
+
isButtonVisible(buttonName: string, visible?: boolean): Promise<void>;
|
|
203
|
+
cancelDialogWindow(): Promise<void>;
|
|
204
|
+
acceptDialogWindow(): Promise<void>;
|
|
205
|
+
setRiskProfile(RiskProfile: string): Promise<void>;
|
|
206
|
+
expectTemplate(template: string): Promise<void>;
|
|
207
|
+
setAutoCompletePassword(passwordValue: string): Promise<void>;
|
|
208
|
+
setAutoCompleteField(fieldLabel: string, value: string): Promise<void>;
|
|
209
|
+
setNewAutoCompleteField(fieldLabel: string, value: string): Promise<void>;
|
|
210
|
+
setTextField(fieldID: string, value: string): Promise<void>;
|
|
211
|
+
abortButtonVisibility(visible?: boolean): Promise<void>;
|
|
191
212
|
}
|
|
192
213
|
declare class Dependency extends WithPage {
|
|
193
214
|
constructor(page: Page);
|
|
@@ -217,6 +238,11 @@ declare class AttachmentRail extends WithPage {
|
|
|
217
238
|
deleteAttachment(fileName: string): Promise<void>;
|
|
218
239
|
expectWithNoAttachment(tempFile: string): Promise<void>;
|
|
219
240
|
}
|
|
241
|
+
declare class TaskScheduling extends WithPage {
|
|
242
|
+
constructor(page: Page);
|
|
243
|
+
expectStartDateToBeDisplayed(): Promise<void>;
|
|
244
|
+
expectEndDateToBeDisplayed(): Promise<void>;
|
|
245
|
+
}
|
|
220
246
|
type Rail = 'Overview' | 'Activity' | 'Config' | 'Scheduling' | 'Conditions' | 'Attributes' | 'Attach' | 'Tags';
|
|
221
247
|
declare class TaskDrawer extends WithPage {
|
|
222
248
|
activity: ActivityRail;
|
|
@@ -236,7 +262,7 @@ declare class TaskDrawer extends WithPage {
|
|
|
236
262
|
constructor(page: Page);
|
|
237
263
|
openOverviewRail(): Promise<void>;
|
|
238
264
|
openActivityRail(): Promise<void>;
|
|
239
|
-
openSchedulingRail(): Promise<
|
|
265
|
+
openSchedulingRail(): Promise<TaskScheduling>;
|
|
240
266
|
openConditionRail(): Promise<void>;
|
|
241
267
|
openAttributesRail(): Promise<void>;
|
|
242
268
|
openAttachRail(): Promise<void>;
|
|
@@ -354,7 +380,7 @@ declare class ReleasePage extends WithPage {
|
|
|
354
380
|
teamsPermissions: ReleaseTeamsAndPermissionsPage;
|
|
355
381
|
phaseTitle: Locator;
|
|
356
382
|
properties: ReleasePropertiesPage;
|
|
357
|
-
variables:
|
|
383
|
+
variables: VariablePage;
|
|
358
384
|
util: Util;
|
|
359
385
|
constructor(page: Page);
|
|
360
386
|
openTriggers(): Promise<TriggersPage>;
|
|
@@ -365,17 +391,17 @@ declare class ReleasePage extends WithPage {
|
|
|
365
391
|
expectFlagOnCompletedTaskCard(): Promise<void>;
|
|
366
392
|
refresh(): Promise<void>;
|
|
367
393
|
start(): Promise<void>;
|
|
368
|
-
waitForCompletion(timeout
|
|
369
|
-
waitForTaskCompleted(taskTitle: string): Promise<void>;
|
|
370
|
-
waitForTaskCompletedInAdvance(taskTitle: string): Promise<void>;
|
|
371
|
-
waitForTaskInProgress(taskTitle: string): Promise<void>;
|
|
372
|
-
waitForTaskFailed(taskTitle: string): Promise<void>;
|
|
373
|
-
waitForTaskSkipped(taskTitle: string): Promise<void>;
|
|
374
|
-
waitForTaskSkippedInAdvance(taskTitle: string): Promise<void>;
|
|
375
|
-
waitForTaskAborted(taskTitle: string): Promise<void>;
|
|
376
|
-
waitForStatusLine(statusLine: string): Promise<void>;
|
|
377
|
-
waitForTaskStarted(taskTitle: string): Promise<void>;
|
|
378
|
-
waitForTaskPlanned(title: string): Promise<void>;
|
|
394
|
+
waitForCompletion(timeout?: number): Promise<void>;
|
|
395
|
+
waitForTaskCompleted(taskTitle: string, timeout?: number): Promise<void>;
|
|
396
|
+
waitForTaskCompletedInAdvance(taskTitle: string, timeout?: number): Promise<void>;
|
|
397
|
+
waitForTaskInProgress(taskTitle: string, timeout?: number): Promise<void>;
|
|
398
|
+
waitForTaskFailed(taskTitle: string, timeout?: number): Promise<void>;
|
|
399
|
+
waitForTaskSkipped(taskTitle: string, timeout?: number): Promise<void>;
|
|
400
|
+
waitForTaskSkippedInAdvance(taskTitle: string, timeout?: number): Promise<void>;
|
|
401
|
+
waitForTaskAborted(taskTitle: string, timeout?: number): Promise<void>;
|
|
402
|
+
waitForStatusLine(statusLine: string, timeout?: number): Promise<void>;
|
|
403
|
+
waitForTaskStarted(taskTitle: string, timeout?: number): Promise<void>;
|
|
404
|
+
waitForTaskPlanned(title: string, timeout?: number): Promise<void>;
|
|
379
405
|
expectTaskCompletedInAdvance(taskTitle: string): Promise<void>;
|
|
380
406
|
expectTaskPending(taskTitle: string): Promise<void>;
|
|
381
407
|
expectCurrentTaskToContain(taskTitle: string): Promise<void>;
|
|
@@ -412,6 +438,7 @@ declare class ReleasePage extends WithPage {
|
|
|
412
438
|
expectTaskToHaveFailed(title: string, failCount: number): Promise<void>;
|
|
413
439
|
expectTaskToHaveBeenDelayed(title: string): Promise<void>;
|
|
414
440
|
expectOnePhaseDisplayed(): Promise<void>;
|
|
441
|
+
restartPhases(): Promise<RestartPhaseModel>;
|
|
415
442
|
}
|
|
416
443
|
declare class Phase extends WithPage {
|
|
417
444
|
commentBox: Locator;
|
|
@@ -446,6 +473,17 @@ declare class Phase extends WithPage {
|
|
|
446
473
|
expectDueTimeToBe(format: string, date: Date | string): Promise<void>;
|
|
447
474
|
deleteTaskInPhase(taskName: string): Promise<void>;
|
|
448
475
|
deletePhase(phaseName: string): Promise<void>;
|
|
476
|
+
expectCompletedPhase(): Promise<void>;
|
|
477
|
+
}
|
|
478
|
+
declare class RestartPhaseModel extends WithPage {
|
|
479
|
+
continueBtn: Locator;
|
|
480
|
+
constructor(page: Page);
|
|
481
|
+
fromPhase(phase: string): Promise<void>;
|
|
482
|
+
fromTask(task: string): Promise<void>;
|
|
483
|
+
expectNoTaskSelectorVisible(): Promise<void>;
|
|
484
|
+
continue(): Promise<void>;
|
|
485
|
+
resumeNow(): Promise<void>;
|
|
486
|
+
resumeLater(): Promise<void>;
|
|
449
487
|
}
|
|
450
488
|
declare class ApplicationsPage extends WithPage {
|
|
451
489
|
goToApplicationsPage(): Promise<this>;
|
|
@@ -546,6 +584,7 @@ declare class FolderPage extends WithPage {
|
|
|
546
584
|
patternPage: FolderPatternPage;
|
|
547
585
|
folderGroupsPage: FolderGroupsPage;
|
|
548
586
|
util: Util;
|
|
587
|
+
variables: VariablePage;
|
|
549
588
|
constructor(page: Page);
|
|
550
589
|
openFoldersPage(): Promise<this>;
|
|
551
590
|
backToAllFolders(): Promise<this>;
|
|
@@ -565,6 +604,9 @@ declare class FolderPage extends WithPage {
|
|
|
565
604
|
openDeliveriesOverview(): Promise<FolderDeliveryPage>;
|
|
566
605
|
openNotifications(): Promise<void>;
|
|
567
606
|
openTemplates(): Promise<void>;
|
|
607
|
+
openRelease(): Promise<void>;
|
|
608
|
+
expectReleaseStarted(releaseName: string): Promise<void>;
|
|
609
|
+
openVariables(): Promise<VariablePage>;
|
|
568
610
|
}
|
|
569
611
|
declare class GlobalVariable extends WithPage {
|
|
570
612
|
addListValue: Locator;
|
|
@@ -769,11 +811,80 @@ declare class ReleaseGroupTimelinePage extends WithPage {
|
|
|
769
811
|
selectAllReleaseCheckbox(): Promise<void>;
|
|
770
812
|
addReleasesToGroup(): Promise<void>;
|
|
771
813
|
}
|
|
814
|
+
declare class ReleaseVariablesPage extends WithPage {
|
|
815
|
+
addListValue: Locator;
|
|
816
|
+
addVariableValue: Locator;
|
|
817
|
+
listAddButton: Locator;
|
|
818
|
+
dateUtil: DateUtil;
|
|
819
|
+
constructor(page: Page);
|
|
820
|
+
openVariable(variableKey: string): Promise<ReleaseVariableModal>;
|
|
821
|
+
addNewVariable(variableName: string, labelname: string, description?: string): Promise<void>;
|
|
822
|
+
selectVariableTextType(valuename: string): Promise<void>;
|
|
823
|
+
selectVariableListboxType(possiblevalue: Array<string> | string, defaultValue: string, required?: boolean): Promise<void>;
|
|
824
|
+
selectVariablePasswordType(possiblevalue: string): Promise<void>;
|
|
825
|
+
selectVariableCheckboxType(): Promise<void>;
|
|
826
|
+
selectVariableNumberType(possiblevalue: string): Promise<void>;
|
|
827
|
+
selectVariableMultiListType(possiblevalue1: string, possiblevalue2: string): Promise<void>;
|
|
828
|
+
addVariableDate(): Promise<void>;
|
|
829
|
+
setDate(date?: string, monthYear?: string): Promise<void>;
|
|
830
|
+
addVariableKeyValueMap(keys1: string, values1: string): Promise<void>;
|
|
831
|
+
addVariableSet(possiblevalue1: string): Promise<void>;
|
|
832
|
+
submitTheVariable(): Promise<void>;
|
|
833
|
+
expectVariableWithNameValueAndType(name: string, value: string, type: string): Promise<void>;
|
|
834
|
+
clickEditVariable(variableName: string): Promise<ReleaseVariableModal>;
|
|
835
|
+
clickDeleteVariable(variableName: string): Promise<_DeleteVariableModel1>;
|
|
836
|
+
expectVariablesCountToBe(count: number): Promise<void>;
|
|
837
|
+
expectVariableNotPresent(variableName: string): Promise<void>;
|
|
838
|
+
clearSearch(): Promise<void>;
|
|
839
|
+
switchPossibleValuesToVariable(variableName: string): Promise<void>;
|
|
840
|
+
selectVariableListboxTypeWithVariable(variableName: string, defaultValue: string, required?: boolean): Promise<void>;
|
|
841
|
+
}
|
|
842
|
+
declare class ReleaseVariableModal extends WithPage {
|
|
843
|
+
dateUtil: DateUtil;
|
|
844
|
+
constructor(page: Page);
|
|
845
|
+
expectValueToBe(value: string): Promise<void>;
|
|
846
|
+
expectValueToContain(value: string): Promise<void>;
|
|
847
|
+
close(): Promise<void>;
|
|
848
|
+
expectPossibleValues(possiblevalue: Array<string> | string): Promise<void>;
|
|
849
|
+
expectPossibleVariableValues(possiblevariablevalue: string): Promise<void>;
|
|
850
|
+
addPossibleValue(value: Array<string> | string): Promise<void>;
|
|
851
|
+
selectVariableValue(defaultValue: string): Promise<void>;
|
|
852
|
+
save(): Promise<void>;
|
|
853
|
+
createPossibleValuesVariable(variableName: string): Promise<void>;
|
|
854
|
+
expectVariableValueToBe(value: string): Promise<void>;
|
|
855
|
+
expectNoVariablesInList(): Promise<void>;
|
|
856
|
+
expectNameInput(value: string): Promise<void>;
|
|
857
|
+
expectLabel(value: string): Promise<void>;
|
|
858
|
+
expectRequired(value: boolean): Promise<void>;
|
|
859
|
+
setDescription(description: string): Promise<void>;
|
|
860
|
+
setLabel(labelValue: string): Promise<void>;
|
|
861
|
+
setDate(date: string, monthYear: string): Promise<void>;
|
|
862
|
+
setValue(value: string): Promise<void>;
|
|
863
|
+
}
|
|
864
|
+
declare class _DeleteVariableModel1 extends WithPage {
|
|
865
|
+
model: ReleaseVariableModal;
|
|
866
|
+
dateUtil: DateUtil;
|
|
867
|
+
constructor(page: Page);
|
|
868
|
+
deleteVariable(): Promise<void>;
|
|
869
|
+
replaceItWithVariable(variable: string): Promise<void>;
|
|
870
|
+
replaceItwithValue(value: string): Promise<void>;
|
|
871
|
+
clickReplaceAndDelete(): Promise<void>;
|
|
872
|
+
addValue(value: string): Promise<void>;
|
|
873
|
+
remove(value: string): Promise<void>;
|
|
874
|
+
expectReplacementPromptDisplayed(): Promise<void>;
|
|
875
|
+
close(): Promise<void>;
|
|
876
|
+
removeItemOnSet(value: string): Promise<void>;
|
|
877
|
+
addValueForSet(key: string, value: string): Promise<void>;
|
|
878
|
+
replaceWithIntegerValue(value: string): Promise<void>;
|
|
879
|
+
replaceForBooleanValue(): Promise<void>;
|
|
880
|
+
deleteBySettingDate(date: string, monthYear: string): Promise<void>;
|
|
881
|
+
}
|
|
772
882
|
declare class TaskListPage extends WithPage {
|
|
773
883
|
taskDrawer: TaskDrawer;
|
|
774
884
|
commentBox: Locator;
|
|
775
885
|
constructor(page: Page);
|
|
776
886
|
openTask(taskName: string): Promise<void>;
|
|
887
|
+
complete(taskName: string, comment: string): Promise<void>;
|
|
777
888
|
skip(taskName: string, comment: string): Promise<void>;
|
|
778
889
|
fail(taskName: string, comment: string): Promise<void>;
|
|
779
890
|
waitForTaskFailed(taskName: string): Promise<void>;
|
|
@@ -1121,9 +1232,10 @@ interface Variable extends BaseConfigurationItem {
|
|
|
1121
1232
|
description?: string;
|
|
1122
1233
|
key: string;
|
|
1123
1234
|
label?: string;
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1235
|
+
multiline?: boolean;
|
|
1236
|
+
requiresValue?: boolean;
|
|
1237
|
+
showOnReleaseStart?: boolean;
|
|
1238
|
+
value?: Array<string> | string | boolean;
|
|
1127
1239
|
valueProvider?: VariableValueProvider;
|
|
1128
1240
|
}
|
|
1129
1241
|
interface VariableValueProvider {
|
|
@@ -1161,6 +1273,7 @@ interface Folder extends PlanItem {
|
|
|
1161
1273
|
}
|
|
1162
1274
|
interface Task extends PlanItem {
|
|
1163
1275
|
attachments: Array<Attachment>;
|
|
1276
|
+
body?: string;
|
|
1164
1277
|
comments: Array<Comment>;
|
|
1165
1278
|
conditions: Array<Condition>;
|
|
1166
1279
|
dependencies: Array<_Dependency1>;
|
|
@@ -1169,6 +1282,7 @@ interface Task extends PlanItem {
|
|
|
1169
1282
|
endDate?: Date;
|
|
1170
1283
|
failuresCount: number;
|
|
1171
1284
|
flagStatus?: string;
|
|
1285
|
+
folderId?: string;
|
|
1172
1286
|
links: Array<Link>;
|
|
1173
1287
|
owner?: string;
|
|
1174
1288
|
plannedDuration: number;
|
|
@@ -1178,6 +1292,7 @@ interface Task extends PlanItem {
|
|
|
1178
1292
|
script: string;
|
|
1179
1293
|
startDate?: Date;
|
|
1180
1294
|
status: TaskStatus;
|
|
1295
|
+
subject?: string;
|
|
1181
1296
|
tags?: Array<string>;
|
|
1182
1297
|
tasks: Array<Task>;
|
|
1183
1298
|
team: string;
|
|
@@ -1186,8 +1301,12 @@ interface Task extends PlanItem {
|
|
|
1186
1301
|
}
|
|
1187
1302
|
type Condition = PlanItem;
|
|
1188
1303
|
type Link = PlanItem;
|
|
1189
|
-
type Comment = PlanItem;
|
|
1190
1304
|
type Attachment = PlanItem;
|
|
1305
|
+
interface Comment extends PlanItem {
|
|
1306
|
+
author?: string;
|
|
1307
|
+
date?: Date;
|
|
1308
|
+
text?: string;
|
|
1309
|
+
}
|
|
1191
1310
|
interface Dashboard extends ReleaseExtension {
|
|
1192
1311
|
tiles: Array<Tile>;
|
|
1193
1312
|
}
|
|
@@ -1195,6 +1314,10 @@ type ReleaseExtension = BaseConfigurationItem;
|
|
|
1195
1314
|
type Tile = BaseConfigurationItem;
|
|
1196
1315
|
interface PythonScript extends BaseConfigurationItem {
|
|
1197
1316
|
customScriptTask: string;
|
|
1317
|
+
result: string;
|
|
1318
|
+
stringList: Array<string>;
|
|
1319
|
+
stringMap: Map<string, string>;
|
|
1320
|
+
stringSet: Set<string>;
|
|
1198
1321
|
}
|
|
1199
1322
|
type ReleaseStatus = 'TEMPLATE' | 'PLANNED' | 'IN_PROGRESS' | 'PAUSED' | 'FAILING' | 'FAILED' | 'COMPLETED' | 'ABORTED';
|
|
1200
1323
|
type PhaseStatus = 'PLANNED' | 'IN_PROGRESS' | 'COMPLETED' | 'FAILING' | 'FAILED' | 'SKIPPED' | 'ABORTED';
|
|
@@ -1222,7 +1345,12 @@ type DeepPartial<T> = {
|
|
|
1222
1345
|
type FixtureRelease = DeepPartial<Release> & Pick<Release, 'id'>;
|
|
1223
1346
|
interface FixtureConfiguration extends PlanItem {
|
|
1224
1347
|
apiToken?: string;
|
|
1348
|
+
folderId?: string;
|
|
1225
1349
|
password?: string;
|
|
1350
|
+
proxyHost?: string;
|
|
1351
|
+
proxyPassword: string;
|
|
1352
|
+
proxyPort?: string;
|
|
1353
|
+
proxyUsername: string;
|
|
1226
1354
|
url: string;
|
|
1227
1355
|
username?: string;
|
|
1228
1356
|
}
|
|
@@ -1278,6 +1406,9 @@ interface ReleaseGroup extends PlanItem {
|
|
|
1278
1406
|
releaseIds?: Array<string>;
|
|
1279
1407
|
startDate: Date;
|
|
1280
1408
|
}
|
|
1409
|
+
interface RiskProfile extends PlanItem {
|
|
1410
|
+
riskProfileAssessors?: Array<RiskProfile>;
|
|
1411
|
+
}
|
|
1281
1412
|
type ReleaseFixtures = {
|
|
1282
1413
|
fixtures: Fixtures;
|
|
1283
1414
|
loginPage: LoginPage;
|
|
@@ -1310,6 +1441,9 @@ declare class Fixtures {
|
|
|
1310
1441
|
deleteFolder(folderId: string): Promise<APIResponse>;
|
|
1311
1442
|
activityLogs(id: string, logs: Array<FixtureActivityLog>): Promise<APIResponse>;
|
|
1312
1443
|
globalVariable(variable: Variable): Promise<APIResponse>;
|
|
1444
|
+
addDefaultSmtpServer(): Promise<APIResponse>;
|
|
1445
|
+
riskProfile(riskProfile: RiskProfile): Promise<APIResponse>;
|
|
1446
|
+
deleteRiskProfile(riskProfileId: string): Promise<APIResponse>;
|
|
1313
1447
|
cleanAll(): Promise<void>;
|
|
1314
1448
|
addJiraTask(): Promise<string>;
|
|
1315
1449
|
addUser(username: string, password: string): Promise<void>;
|