@digital-ai/devops-page-object-release 0.0.24 → 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 +13 -0
- package/dist/main.js +590 -51
- package/dist/main.js.map +1 -1
- package/dist/module.js +590 -51
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +159 -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>;
|
|
@@ -267,6 +293,7 @@ declare class TaskDrawer extends WithPage {
|
|
|
267
293
|
expectStartDateToBeDisplayed(): Promise<void>;
|
|
268
294
|
expectEndDateToBeDisplayed(): Promise<void>;
|
|
269
295
|
expectStartDateAndEndDateToBeDisplayed(): Promise<void>;
|
|
296
|
+
expectPhaseAndTaskTitleToContain(phaseName: string, taskTitle: string): Promise<void>;
|
|
270
297
|
}
|
|
271
298
|
declare class ReleaseGanttPage extends WithPage {
|
|
272
299
|
releaseHeader: Locator;
|
|
@@ -353,7 +380,7 @@ declare class ReleasePage extends WithPage {
|
|
|
353
380
|
teamsPermissions: ReleaseTeamsAndPermissionsPage;
|
|
354
381
|
phaseTitle: Locator;
|
|
355
382
|
properties: ReleasePropertiesPage;
|
|
356
|
-
variables:
|
|
383
|
+
variables: VariablePage;
|
|
357
384
|
util: Util;
|
|
358
385
|
constructor(page: Page);
|
|
359
386
|
openTriggers(): Promise<TriggersPage>;
|
|
@@ -364,17 +391,17 @@ declare class ReleasePage extends WithPage {
|
|
|
364
391
|
expectFlagOnCompletedTaskCard(): Promise<void>;
|
|
365
392
|
refresh(): Promise<void>;
|
|
366
393
|
start(): Promise<void>;
|
|
367
|
-
waitForCompletion(timeout
|
|
368
|
-
waitForTaskCompleted(taskTitle: string): Promise<void>;
|
|
369
|
-
waitForTaskCompletedInAdvance(taskTitle: string): Promise<void>;
|
|
370
|
-
waitForTaskInProgress(taskTitle: string): Promise<void>;
|
|
371
|
-
waitForTaskFailed(taskTitle: string): Promise<void>;
|
|
372
|
-
waitForTaskSkipped(taskTitle: string): Promise<void>;
|
|
373
|
-
waitForTaskSkippedInAdvance(taskTitle: string): Promise<void>;
|
|
374
|
-
waitForTaskAborted(taskTitle: string): Promise<void>;
|
|
375
|
-
waitForStatusLine(statusLine: string): Promise<void>;
|
|
376
|
-
waitForTaskStarted(taskTitle: string): Promise<void>;
|
|
377
|
-
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>;
|
|
378
405
|
expectTaskCompletedInAdvance(taskTitle: string): Promise<void>;
|
|
379
406
|
expectTaskPending(taskTitle: string): Promise<void>;
|
|
380
407
|
expectCurrentTaskToContain(taskTitle: string): Promise<void>;
|
|
@@ -411,6 +438,7 @@ declare class ReleasePage extends WithPage {
|
|
|
411
438
|
expectTaskToHaveFailed(title: string, failCount: number): Promise<void>;
|
|
412
439
|
expectTaskToHaveBeenDelayed(title: string): Promise<void>;
|
|
413
440
|
expectOnePhaseDisplayed(): Promise<void>;
|
|
441
|
+
restartPhases(): Promise<RestartPhaseModel>;
|
|
414
442
|
}
|
|
415
443
|
declare class Phase extends WithPage {
|
|
416
444
|
commentBox: Locator;
|
|
@@ -445,6 +473,17 @@ declare class Phase extends WithPage {
|
|
|
445
473
|
expectDueTimeToBe(format: string, date: Date | string): Promise<void>;
|
|
446
474
|
deleteTaskInPhase(taskName: string): Promise<void>;
|
|
447
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>;
|
|
448
487
|
}
|
|
449
488
|
declare class ApplicationsPage extends WithPage {
|
|
450
489
|
goToApplicationsPage(): Promise<this>;
|
|
@@ -545,6 +584,7 @@ declare class FolderPage extends WithPage {
|
|
|
545
584
|
patternPage: FolderPatternPage;
|
|
546
585
|
folderGroupsPage: FolderGroupsPage;
|
|
547
586
|
util: Util;
|
|
587
|
+
variables: VariablePage;
|
|
548
588
|
constructor(page: Page);
|
|
549
589
|
openFoldersPage(): Promise<this>;
|
|
550
590
|
backToAllFolders(): Promise<this>;
|
|
@@ -564,6 +604,9 @@ declare class FolderPage extends WithPage {
|
|
|
564
604
|
openDeliveriesOverview(): Promise<FolderDeliveryPage>;
|
|
565
605
|
openNotifications(): Promise<void>;
|
|
566
606
|
openTemplates(): Promise<void>;
|
|
607
|
+
openRelease(): Promise<void>;
|
|
608
|
+
expectReleaseStarted(releaseName: string): Promise<void>;
|
|
609
|
+
openVariables(): Promise<VariablePage>;
|
|
567
610
|
}
|
|
568
611
|
declare class GlobalVariable extends WithPage {
|
|
569
612
|
addListValue: Locator;
|
|
@@ -768,11 +811,80 @@ declare class ReleaseGroupTimelinePage extends WithPage {
|
|
|
768
811
|
selectAllReleaseCheckbox(): Promise<void>;
|
|
769
812
|
addReleasesToGroup(): Promise<void>;
|
|
770
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
|
+
}
|
|
771
882
|
declare class TaskListPage extends WithPage {
|
|
772
883
|
taskDrawer: TaskDrawer;
|
|
773
884
|
commentBox: Locator;
|
|
774
885
|
constructor(page: Page);
|
|
775
886
|
openTask(taskName: string): Promise<void>;
|
|
887
|
+
complete(taskName: string, comment: string): Promise<void>;
|
|
776
888
|
skip(taskName: string, comment: string): Promise<void>;
|
|
777
889
|
fail(taskName: string, comment: string): Promise<void>;
|
|
778
890
|
waitForTaskFailed(taskName: string): Promise<void>;
|
|
@@ -1120,9 +1232,10 @@ interface Variable extends BaseConfigurationItem {
|
|
|
1120
1232
|
description?: string;
|
|
1121
1233
|
key: string;
|
|
1122
1234
|
label?: string;
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1235
|
+
multiline?: boolean;
|
|
1236
|
+
requiresValue?: boolean;
|
|
1237
|
+
showOnReleaseStart?: boolean;
|
|
1238
|
+
value?: Array<string> | string | boolean;
|
|
1126
1239
|
valueProvider?: VariableValueProvider;
|
|
1127
1240
|
}
|
|
1128
1241
|
interface VariableValueProvider {
|
|
@@ -1160,6 +1273,7 @@ interface Folder extends PlanItem {
|
|
|
1160
1273
|
}
|
|
1161
1274
|
interface Task extends PlanItem {
|
|
1162
1275
|
attachments: Array<Attachment>;
|
|
1276
|
+
body?: string;
|
|
1163
1277
|
comments: Array<Comment>;
|
|
1164
1278
|
conditions: Array<Condition>;
|
|
1165
1279
|
dependencies: Array<_Dependency1>;
|
|
@@ -1168,6 +1282,7 @@ interface Task extends PlanItem {
|
|
|
1168
1282
|
endDate?: Date;
|
|
1169
1283
|
failuresCount: number;
|
|
1170
1284
|
flagStatus?: string;
|
|
1285
|
+
folderId?: string;
|
|
1171
1286
|
links: Array<Link>;
|
|
1172
1287
|
owner?: string;
|
|
1173
1288
|
plannedDuration: number;
|
|
@@ -1177,6 +1292,7 @@ interface Task extends PlanItem {
|
|
|
1177
1292
|
script: string;
|
|
1178
1293
|
startDate?: Date;
|
|
1179
1294
|
status: TaskStatus;
|
|
1295
|
+
subject?: string;
|
|
1180
1296
|
tags?: Array<string>;
|
|
1181
1297
|
tasks: Array<Task>;
|
|
1182
1298
|
team: string;
|
|
@@ -1185,8 +1301,12 @@ interface Task extends PlanItem {
|
|
|
1185
1301
|
}
|
|
1186
1302
|
type Condition = PlanItem;
|
|
1187
1303
|
type Link = PlanItem;
|
|
1188
|
-
type Comment = PlanItem;
|
|
1189
1304
|
type Attachment = PlanItem;
|
|
1305
|
+
interface Comment extends PlanItem {
|
|
1306
|
+
author?: string;
|
|
1307
|
+
date?: Date;
|
|
1308
|
+
text?: string;
|
|
1309
|
+
}
|
|
1190
1310
|
interface Dashboard extends ReleaseExtension {
|
|
1191
1311
|
tiles: Array<Tile>;
|
|
1192
1312
|
}
|
|
@@ -1194,6 +1314,10 @@ type ReleaseExtension = BaseConfigurationItem;
|
|
|
1194
1314
|
type Tile = BaseConfigurationItem;
|
|
1195
1315
|
interface PythonScript extends BaseConfigurationItem {
|
|
1196
1316
|
customScriptTask: string;
|
|
1317
|
+
result: string;
|
|
1318
|
+
stringList: Array<string>;
|
|
1319
|
+
stringMap: Map<string, string>;
|
|
1320
|
+
stringSet: Set<string>;
|
|
1197
1321
|
}
|
|
1198
1322
|
type ReleaseStatus = 'TEMPLATE' | 'PLANNED' | 'IN_PROGRESS' | 'PAUSED' | 'FAILING' | 'FAILED' | 'COMPLETED' | 'ABORTED';
|
|
1199
1323
|
type PhaseStatus = 'PLANNED' | 'IN_PROGRESS' | 'COMPLETED' | 'FAILING' | 'FAILED' | 'SKIPPED' | 'ABORTED';
|
|
@@ -1221,7 +1345,12 @@ type DeepPartial<T> = {
|
|
|
1221
1345
|
type FixtureRelease = DeepPartial<Release> & Pick<Release, 'id'>;
|
|
1222
1346
|
interface FixtureConfiguration extends PlanItem {
|
|
1223
1347
|
apiToken?: string;
|
|
1348
|
+
folderId?: string;
|
|
1224
1349
|
password?: string;
|
|
1350
|
+
proxyHost?: string;
|
|
1351
|
+
proxyPassword: string;
|
|
1352
|
+
proxyPort?: string;
|
|
1353
|
+
proxyUsername: string;
|
|
1225
1354
|
url: string;
|
|
1226
1355
|
username?: string;
|
|
1227
1356
|
}
|
|
@@ -1277,6 +1406,9 @@ interface ReleaseGroup extends PlanItem {
|
|
|
1277
1406
|
releaseIds?: Array<string>;
|
|
1278
1407
|
startDate: Date;
|
|
1279
1408
|
}
|
|
1409
|
+
interface RiskProfile extends PlanItem {
|
|
1410
|
+
riskProfileAssessors?: Array<RiskProfile>;
|
|
1411
|
+
}
|
|
1280
1412
|
type ReleaseFixtures = {
|
|
1281
1413
|
fixtures: Fixtures;
|
|
1282
1414
|
loginPage: LoginPage;
|
|
@@ -1309,6 +1441,9 @@ declare class Fixtures {
|
|
|
1309
1441
|
deleteFolder(folderId: string): Promise<APIResponse>;
|
|
1310
1442
|
activityLogs(id: string, logs: Array<FixtureActivityLog>): Promise<APIResponse>;
|
|
1311
1443
|
globalVariable(variable: Variable): Promise<APIResponse>;
|
|
1444
|
+
addDefaultSmtpServer(): Promise<APIResponse>;
|
|
1445
|
+
riskProfile(riskProfile: RiskProfile): Promise<APIResponse>;
|
|
1446
|
+
deleteRiskProfile(riskProfileId: string): Promise<APIResponse>;
|
|
1312
1447
|
cleanAll(): Promise<void>;
|
|
1313
1448
|
addJiraTask(): Promise<string>;
|
|
1314
1449
|
addUser(username: string, password: string): Promise<void>;
|