@digital-ai/devops-page-object-release 0.0.0-pikachu-20250811111032 → 0.0.0-pikachu-20250814100204
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 +8 -1
- package/dist/main.js +11324 -0
- package/dist/main.js.map +1 -0
- package/dist/module.js +9715 -0
- package/dist/module.js.map +1 -0
- package/dist/types.d.ts +2271 -0
- package/dist/types.d.ts.map +1 -0
- package/package.json +1 -1
package/dist/types.d.ts
ADDED
|
@@ -0,0 +1,2271 @@
|
|
|
1
|
+
import { Page, Locator, APIResponse } from "@playwright/test";
|
|
2
|
+
import path from "path";
|
|
3
|
+
import { APIRequestContext } from "playwright-core";
|
|
4
|
+
declare class WithPage {
|
|
5
|
+
protected readonly page: Page;
|
|
6
|
+
constructor(page: Page);
|
|
7
|
+
}
|
|
8
|
+
declare class ReleaseCreatePage extends WithPage {
|
|
9
|
+
releaseForm: Locator;
|
|
10
|
+
constructor(page: Page);
|
|
11
|
+
setName(releaseName: string): Promise<void>;
|
|
12
|
+
setDescription(description: string): Promise<void>;
|
|
13
|
+
setOwner(ownerName: string): Promise<void>;
|
|
14
|
+
create(): Promise<void>;
|
|
15
|
+
expectVariablesCountToBe(count: number): Promise<void>;
|
|
16
|
+
expectContainingVariable(variableName: string, value: string): Promise<void>;
|
|
17
|
+
selectTemplate(templateName: string): Promise<void>;
|
|
18
|
+
removeTemplate(): Promise<void>;
|
|
19
|
+
setValueForVariables(variableName: string, value: string): Promise<void>;
|
|
20
|
+
setVariable(variable: string, value: string): Promise<void>;
|
|
21
|
+
resetVariableValues(): Promise<void>;
|
|
22
|
+
clickOnPrefillVariables(): Promise<void>;
|
|
23
|
+
selectPreviousRelease(releaseName: string): Promise<void>;
|
|
24
|
+
expectPrefillWarning(message: string): Promise<void>;
|
|
25
|
+
}
|
|
26
|
+
declare class ReleasesHeaderPage extends WithPage {
|
|
27
|
+
constructor(page: Page);
|
|
28
|
+
getHeaderSelector(): string;
|
|
29
|
+
getBaseDrawerSelector(): string;
|
|
30
|
+
getFilterDrawerSelector(): string;
|
|
31
|
+
getStatusInputSelector(): string;
|
|
32
|
+
getBasePopperSelector(): string;
|
|
33
|
+
getSelectAllStatusesButtonSelector(): string;
|
|
34
|
+
getTitleInputSelector(): string;
|
|
35
|
+
getRiskLevelInputSelector(): string;
|
|
36
|
+
setReleaseStatusFilter(statuses: string[]): Promise<this>;
|
|
37
|
+
setReleaseTagsFilter(tags: string[]): Promise<this>;
|
|
38
|
+
setTaskTagsFilter(tags: string[]): Promise<this>;
|
|
39
|
+
setRiskLevelFilter(riskLevel: string): Promise<this>;
|
|
40
|
+
filterReleaseByTitle(releaseTitle: string): Promise<void>;
|
|
41
|
+
clearTitleFilter(): Promise<this>;
|
|
42
|
+
openFilterDrawer(): Promise<this>;
|
|
43
|
+
closeFilterDrawer(): Promise<this>;
|
|
44
|
+
clearAllFilters(): Promise<this>;
|
|
45
|
+
clearAllStatusFilters(): Promise<this>;
|
|
46
|
+
selectAllStatusFilters(): Promise<this>;
|
|
47
|
+
gotoListView(): Promise<void>;
|
|
48
|
+
gotoCalendarView(): Promise<void>;
|
|
49
|
+
clickOnReleasesPageTab(tabName: 'List' | 'Archived' | 'Calendar'): Promise<this>;
|
|
50
|
+
toggleFilterFlaggedOnly(): Promise<this>;
|
|
51
|
+
}
|
|
52
|
+
declare class ReleasesListPage extends ReleasesHeaderPage {
|
|
53
|
+
releaseCreatePage: ReleaseCreatePage;
|
|
54
|
+
buttonNewRelease: Locator;
|
|
55
|
+
constructor(page: Page);
|
|
56
|
+
expectNumberOfReleases(releaseTitle: string, amount: number): Promise<void>;
|
|
57
|
+
expectReleaseStarted(releaseTitle: string): Promise<void>;
|
|
58
|
+
expectReleaseStatusInProgress(releaseTitle: string): Promise<void>;
|
|
59
|
+
expectReleaseAborted(releaseTitle: string): Promise<void>;
|
|
60
|
+
expectReleaseFailed(releaseTitle: string): Promise<void>;
|
|
61
|
+
expectReleaseFailing(releaseTitle: string): Promise<void>;
|
|
62
|
+
expectReleaseCompleted(releaseTitle: string): Promise<void>;
|
|
63
|
+
expectRedirectToReleasesList(): Promise<void>;
|
|
64
|
+
openReleaseByName(releaseTitle: string): Promise<ReleasePage>;
|
|
65
|
+
createNewRelease(releaseName: string, description: string): Promise<void>;
|
|
66
|
+
createNewReleaseWithOwner(releaseName: string, description: string, ownerName: string): Promise<void>;
|
|
67
|
+
openReleasesList(): Promise<this>;
|
|
68
|
+
clickReleaseOptions(releaseTitle: string): Promise<this>;
|
|
69
|
+
clickAddToRelease(): Promise<this>;
|
|
70
|
+
checkAddDisabled(): Promise<this>;
|
|
71
|
+
selectReleaseGroup(rgTitle: string): Promise<this>;
|
|
72
|
+
clickAddToReleaseGroup(): Promise<this>;
|
|
73
|
+
}
|
|
74
|
+
declare class TriggersPage extends WithPage {
|
|
75
|
+
openRelatedReleasesOf(title: string): Promise<ReleasesListPage>;
|
|
76
|
+
}
|
|
77
|
+
declare class DateUtil extends WithPage {
|
|
78
|
+
constructor(page: Page);
|
|
79
|
+
openDatePicker(selector: string): Promise<void>;
|
|
80
|
+
/**
|
|
81
|
+
* Setting date, month and year from calendar picker
|
|
82
|
+
*/
|
|
83
|
+
setDate(date?: string, monthYear?: string): Promise<void>;
|
|
84
|
+
expectDurationToBe(duration: string): Promise<void>;
|
|
85
|
+
setDuration(days?: string, hours?: string, mins?: string): Promise<void>;
|
|
86
|
+
expectTimeToBe(selector: Locator, format: string, date: Date | string): Promise<void>;
|
|
87
|
+
/**
|
|
88
|
+
*
|
|
89
|
+
* @returns Getting current month and year in the format "MonthName YYYY"
|
|
90
|
+
*/
|
|
91
|
+
getCurrentMonthYear(): Promise<string>;
|
|
92
|
+
/**
|
|
93
|
+
*
|
|
94
|
+
* @returns Getting current date in the format "dd MonthName YYYY"
|
|
95
|
+
*/
|
|
96
|
+
getCurrentDate(): Promise<string>;
|
|
97
|
+
/**
|
|
98
|
+
*
|
|
99
|
+
* @param days Number of days to add to current date within the current month
|
|
100
|
+
* @returns
|
|
101
|
+
*/
|
|
102
|
+
getFutureDate(days: number): Promise<string>;
|
|
103
|
+
removeDate(selector: Locator): Promise<void>;
|
|
104
|
+
expectDateNotDeletable(selector: Locator): Promise<void>;
|
|
105
|
+
expectDateToBe(selector: Locator, date: Date | string): Promise<void>;
|
|
106
|
+
expectDateToBeInferred(selector: Locator): Promise<void>;
|
|
107
|
+
expectNoDate(selector: Locator): Promise<void>;
|
|
108
|
+
expectInputContainingDate(inputLocator: Locator, date: Date | string): Promise<void>;
|
|
109
|
+
}
|
|
110
|
+
declare class VariablePage extends WithPage {
|
|
111
|
+
addListValue: Locator;
|
|
112
|
+
addVariableValue: Locator;
|
|
113
|
+
listAddButton: Locator;
|
|
114
|
+
dateUtil: DateUtil;
|
|
115
|
+
constructor(page: Page);
|
|
116
|
+
openVariable(variableKey: string): Promise<VariableModal>;
|
|
117
|
+
addNewVariable(variableName: string, labelname: string, description?: string): Promise<void>;
|
|
118
|
+
addNewVariableInFolder(variableName: string, labelname: string, description?: string): Promise<void>;
|
|
119
|
+
selectVariableTextType(valueName: string, multiline?: boolean): Promise<void>;
|
|
120
|
+
selectVariableListboxType(possiblevalue: Array<string> | string, defaultValue: string, required?: true): Promise<void>;
|
|
121
|
+
selectVariablePasswordType(possiblevalue: string): Promise<void>;
|
|
122
|
+
selectVariableCheckboxType(): Promise<void>;
|
|
123
|
+
selectVariableNumberType(possiblevalue: string): Promise<void>;
|
|
124
|
+
selectVariableMultiListType(possiblevalue1: string, possiblevalue2: string): Promise<void>;
|
|
125
|
+
selectVariableByDate(date: string, monthYear: string): Promise<void>;
|
|
126
|
+
setDate(date?: string, monthYear?: string): Promise<void>;
|
|
127
|
+
addVariableKeyValueMap(keys1: string, values1: string): Promise<void>;
|
|
128
|
+
addVariableSet(possiblevalue1: string): Promise<void>;
|
|
129
|
+
submitTheVariable(): Promise<void>;
|
|
130
|
+
expectVariableWithNameValueAndType(name: string, value: string, type: string): Promise<void>;
|
|
131
|
+
clickEditVariable(variableName: string): Promise<VariableModal>;
|
|
132
|
+
clickDeleteVariable(variableName: string): Promise<DeleteVariableModel>;
|
|
133
|
+
expectVariablesCountToBe(count: number): Promise<void>;
|
|
134
|
+
expectVariableNotPresent(variableName: string): Promise<void>;
|
|
135
|
+
clearReleaseVariableSearch(): Promise<void>;
|
|
136
|
+
switchPossibleValuesToVariable(variableName: string): Promise<void>;
|
|
137
|
+
selectVariableListboxTypeWithVariable(variableName: string, defaultValue: string, required?: boolean): Promise<void>;
|
|
138
|
+
clickMultiline(): Promise<void>;
|
|
139
|
+
searchFolderVariable(variableName: string): Promise<void>;
|
|
140
|
+
clearFolderVarSearch(): Promise<void>;
|
|
141
|
+
clickFolderVariableButton(): Promise<void>;
|
|
142
|
+
clickReleaseVariableButton(): Promise<void>;
|
|
143
|
+
}
|
|
144
|
+
declare class VariableModal extends WithPage {
|
|
145
|
+
dateUtil: DateUtil;
|
|
146
|
+
constructor(page: Page);
|
|
147
|
+
expectValueToBe(value: string): Promise<void>;
|
|
148
|
+
expectValueToContain(value: string): Promise<void>;
|
|
149
|
+
close(): Promise<void>;
|
|
150
|
+
expectPossibleValues(possiblevalue: Array<string> | string): Promise<void>;
|
|
151
|
+
expectPossibleVariableValues(possibleVariableValue: string): Promise<void>;
|
|
152
|
+
addPossibleValue(value: Array<string> | string): Promise<void>;
|
|
153
|
+
selectVariableValue(defaultValue: string): Promise<void>;
|
|
154
|
+
save(): Promise<void>;
|
|
155
|
+
createPossibleValuesVariable(variableName: string): Promise<void>;
|
|
156
|
+
expectVariableValueToBe(value: string): Promise<void>;
|
|
157
|
+
expectNoVariablesInList(): Promise<void>;
|
|
158
|
+
expectNameInput(value: string): Promise<void>;
|
|
159
|
+
expectLabel(value: string): Promise<void>;
|
|
160
|
+
expectRequired(value: boolean): Promise<void>;
|
|
161
|
+
setDescription(description: string): Promise<void>;
|
|
162
|
+
setLabel(labelValue: string): Promise<void>;
|
|
163
|
+
setDate(date: string, monthYear: string): Promise<void>;
|
|
164
|
+
setValue(value: string): Promise<void>;
|
|
165
|
+
clearValue(): Promise<void>;
|
|
166
|
+
clickMultiline(): Promise<void>;
|
|
167
|
+
setValueForMultilinePassword(value: string): Promise<void>;
|
|
168
|
+
}
|
|
169
|
+
declare class DeleteVariableModel extends WithPage {
|
|
170
|
+
model: VariableModal;
|
|
171
|
+
dateUtil: DateUtil;
|
|
172
|
+
constructor(page: Page);
|
|
173
|
+
deleteVariable(): Promise<void>;
|
|
174
|
+
replaceItWithVariable(variable: string): Promise<void>;
|
|
175
|
+
replaceItwithValue(value: string): Promise<void>;
|
|
176
|
+
clickReplaceAndDelete(): Promise<void>;
|
|
177
|
+
addValue(value: string): Promise<void>;
|
|
178
|
+
remove(value: string): Promise<void>;
|
|
179
|
+
expectReplacementPromptDisplayed(): Promise<void>;
|
|
180
|
+
close(): Promise<void>;
|
|
181
|
+
removeItemOnSet(value: string): Promise<void>;
|
|
182
|
+
addValueForSet(key: string, value: string): Promise<void>;
|
|
183
|
+
replaceWithIntegerValue(value: string): Promise<void>;
|
|
184
|
+
replaceForBooleanValue(): Promise<void>;
|
|
185
|
+
deleteBySettingDate(date: string, monthYear: string): Promise<void>;
|
|
186
|
+
}
|
|
187
|
+
declare class ActivityRail extends WithPage {
|
|
188
|
+
commentFilterInput: Locator;
|
|
189
|
+
filterIconButton: Locator;
|
|
190
|
+
markdownWrapper: Locator;
|
|
191
|
+
sortButton: Locator;
|
|
192
|
+
systemListItem: Locator;
|
|
193
|
+
tooltipPopper: Locator;
|
|
194
|
+
userListItem: Locator;
|
|
195
|
+
viewAllListItem: Locator;
|
|
196
|
+
constructor(page: Page);
|
|
197
|
+
expectCommentToContain(comment: string, shouldContain?: boolean): Promise<void>;
|
|
198
|
+
expectCommentToContainAtPosition(comment: string, positionIndex: number): Promise<this>;
|
|
199
|
+
expectCommentToContainLink(hrefLink: RegExp): Promise<void>;
|
|
200
|
+
expectTaskIsCommentable(isCommentable: boolean): Promise<void>;
|
|
201
|
+
addComment(comment: string): Promise<this>;
|
|
202
|
+
searchComments(filter: string): Promise<this>;
|
|
203
|
+
clickOnFilterIconButton(): Promise<this>;
|
|
204
|
+
clickOnUserListItemFilter(): Promise<this>;
|
|
205
|
+
clickOnSystemListItemFilter(): Promise<this>;
|
|
206
|
+
clickOnViewAllListItemFilter(): Promise<this>;
|
|
207
|
+
clickOnSortIconButton(): Promise<this>;
|
|
208
|
+
expectAuthorCommentsToBe(author: string): Promise<this>;
|
|
209
|
+
expectSortIconButtonToHaveTooltipText(tooltipText: string): Promise<this>;
|
|
210
|
+
expectCommentsDateTimeToBe(comment: string, date: string): Promise<this>;
|
|
211
|
+
}
|
|
212
|
+
declare class AttachmentRail extends WithPage {
|
|
213
|
+
expectWithAttachment(filename: string): Promise<void>;
|
|
214
|
+
getAttachmentsListCount(): Promise<number>;
|
|
215
|
+
uploadFile(filePath: string): Promise<void>;
|
|
216
|
+
downloadFile(filename: string): Promise<void>;
|
|
217
|
+
deleteAttachment(fileName: string): Promise<void>;
|
|
218
|
+
expectWithNoAttachment(tempFile: string): Promise<void>;
|
|
219
|
+
}
|
|
220
|
+
declare class AttributeRail extends WithPage {
|
|
221
|
+
constructor(page: Page);
|
|
222
|
+
clickAddAttribute(): Promise<void>;
|
|
223
|
+
expectAttributeEditable(): Promise<void>;
|
|
224
|
+
addTag(tagName: string): Promise<void>;
|
|
225
|
+
expectContainsTag(tagName: Array<string> | string): Promise<void>;
|
|
226
|
+
selectAttributeType(type: string): Promise<void>;
|
|
227
|
+
fillInputValue(labelName: string, value: string): Promise<void>;
|
|
228
|
+
saveAttributes(): Promise<void>;
|
|
229
|
+
cancelAttribute(): Promise<void>;
|
|
230
|
+
setInputTextField(fieldId: string, value: string): Promise<void>;
|
|
231
|
+
expectFacetCountToBe(count: number): Promise<void>;
|
|
232
|
+
expectFieldValueToBe(fieldId: string, value: string): Promise<void>;
|
|
233
|
+
clickEditExistingFacet(facetName: string): Promise<void>;
|
|
234
|
+
deleteFacet(faceName: string): Promise<void>;
|
|
235
|
+
}
|
|
236
|
+
declare class ConditionRail extends WithPage {
|
|
237
|
+
railLocator: Locator;
|
|
238
|
+
preconditionToggle: Locator;
|
|
239
|
+
textEditor: Locator;
|
|
240
|
+
saveButton: Locator;
|
|
241
|
+
constructor(page: Page);
|
|
242
|
+
enablePrecondition(): Promise<void>;
|
|
243
|
+
disablePrecondition(): Promise<void>;
|
|
244
|
+
setPrecondition(script: string): Promise<void>;
|
|
245
|
+
expectPreconditionEditable(editable: boolean): Promise<void>;
|
|
246
|
+
enableFailureHandler(): Promise<void>;
|
|
247
|
+
expectEnabledFailureHandlerToggle(): Promise<void>;
|
|
248
|
+
expectDisabledFailureHandlerToggle(): Promise<void>;
|
|
249
|
+
clickFailureHandler(): Promise<this>;
|
|
250
|
+
clickPrecondition(): Promise<this>;
|
|
251
|
+
expectFailureHandlerHasDefaults(): Promise<this>;
|
|
252
|
+
selectPostAction(action: string): Promise<this>;
|
|
253
|
+
enterFailureHandlerScript(script: string): Promise<this>;
|
|
254
|
+
expectScriptToContain(script: string): Promise<void>;
|
|
255
|
+
expectFailureHandlerEditable(): Promise<this>;
|
|
256
|
+
}
|
|
257
|
+
declare class ConfigRail extends WithPage {
|
|
258
|
+
railLocator: Locator;
|
|
259
|
+
constructor(page: Page);
|
|
260
|
+
openInputProperties(): Promise<void>;
|
|
261
|
+
openOutputProperties(): Promise<void>;
|
|
262
|
+
getValueFromCi(propertyName: string): Promise<string>;
|
|
263
|
+
getAllOptionsFromCi(propertyName: string): Promise<string[]>;
|
|
264
|
+
setValueFromCi(propertyName: string, value: string): Promise<void>;
|
|
265
|
+
getValueFromString(propertyName: string): Promise<string | null>;
|
|
266
|
+
setValueFromString(propertyName: string, value: string): Promise<void>;
|
|
267
|
+
setValueFromLargeString(propertyName: string, value: string): Promise<void>;
|
|
268
|
+
setValueFromPassword(propertyName: string, value: string): Promise<void>;
|
|
269
|
+
setAndCreateVariable(propertyName: string, variableName: string): Promise<void>;
|
|
270
|
+
setVariable(propertyName: string, variableName: string): Promise<void>;
|
|
271
|
+
expectValueFromString(propertyName: string, propertyValue: string): Promise<void>;
|
|
272
|
+
}
|
|
273
|
+
declare class OverviewRail extends WithPage {
|
|
274
|
+
dependency: Dependency;
|
|
275
|
+
modal: ModalWindow;
|
|
276
|
+
railLocator: Locator;
|
|
277
|
+
scriptTextArea: Locator;
|
|
278
|
+
constructor(page: Page);
|
|
279
|
+
openInputProperties(): Promise<void>;
|
|
280
|
+
openOutputProperties(): Promise<void>;
|
|
281
|
+
getValueFromCi(propertyName: string): Promise<string>;
|
|
282
|
+
getAllOptionsFromCi(propertyName: string): Promise<string[]>;
|
|
283
|
+
setValueFromCi(propertyName: string, value: string): Promise<void>;
|
|
284
|
+
clickCreateNewCiInVariable(propertyName: string): Promise<void>;
|
|
285
|
+
getValueFromString(propertyName: string): Promise<string | null>;
|
|
286
|
+
getStringListField(propertyName: string): Promise<StringList>;
|
|
287
|
+
getStringSetField(propertyName: string): Promise<StringSet>;
|
|
288
|
+
getStringMapField(propertyName: string): Promise<StringMap>;
|
|
289
|
+
setValueFromString(propertyName: string, value: string): Promise<void>;
|
|
290
|
+
setValueFromLargeString(propertyName: string, value: string): Promise<void>;
|
|
291
|
+
setValueForBody(value: string): Promise<void>;
|
|
292
|
+
setValueFromPassword(propertyName: string, value: string): Promise<void>;
|
|
293
|
+
selectVariableFromOption(objectID: string, variable: string): Promise<void>;
|
|
294
|
+
setValueForDateVariable(variable: string, date: string): Promise<this>;
|
|
295
|
+
createNewVariableForField(objectID: string, variable: string): Promise<void>;
|
|
296
|
+
createReleaseIdInOutputProperties(propertyName: string, variableName: string): Promise<void>;
|
|
297
|
+
expectValueInOutputProperties(variableId: string, value: string, expected?: boolean): Promise<void>;
|
|
298
|
+
expectValueInInputProperties(propertyName: string, value: string, expected?: boolean): Promise<void>;
|
|
299
|
+
selectReleaseIdInOutputProperties(objectID: string, variableName: string): Promise<void>;
|
|
300
|
+
expectVariable(propertyName: string, expected?: boolean): Promise<void>;
|
|
301
|
+
expectAlertMessage(alertMessage: string): Promise<void>;
|
|
302
|
+
expectValueFromString(propertyName: string, propertyValue: string): Promise<void>;
|
|
303
|
+
expectValueFromResultString(propertyName: string, value: string): Promise<this>;
|
|
304
|
+
expectDisabledInputField(propertyName: string): Promise<this>;
|
|
305
|
+
expectRiskProfileValue(value: string): Promise<void>;
|
|
306
|
+
expectTo(value: string): Promise<void>;
|
|
307
|
+
expectAutoCompleteFieldValue(label: string, value: string[] | string): Promise<void>;
|
|
308
|
+
expectFieldValue(fieldName: string, value: string): Promise<void>;
|
|
309
|
+
expectSubjectToBe(value: string): Promise<void>;
|
|
310
|
+
expectBodyToBe(value: string): Promise<void>;
|
|
311
|
+
expectReleaseTitleToBe(value: string): Promise<void>;
|
|
312
|
+
setBody(value: string): Promise<void>;
|
|
313
|
+
setReleaseTags(tags: Array<string> | string): Promise<void>;
|
|
314
|
+
setScript(script: string): Promise<void>;
|
|
315
|
+
expectScriptToContain(script: string): Promise<void>;
|
|
316
|
+
enterScriptForAutoComplete(script: string): Promise<void>;
|
|
317
|
+
openScriptEditorInSeparateWindow(): Promise<void>;
|
|
318
|
+
closeFullscreenScriptWindowWithESC(): Promise<void>;
|
|
319
|
+
closeFullscreenScriptWindow(): Promise<void>;
|
|
320
|
+
abort(comment: string): Promise<void>;
|
|
321
|
+
expectDependenciesDisplayed(dependencies: any[]): Promise<void>;
|
|
322
|
+
expectDependencyStatus(option?: boolean): Promise<void>;
|
|
323
|
+
expectResolvedDependency(): Promise<void>;
|
|
324
|
+
expectUnresolvedDependency(): Promise<void>;
|
|
325
|
+
expectCanDeleteDependency(title: string, canDelete?: boolean): Promise<void>;
|
|
326
|
+
expectDependencyContextualMenu(option?: boolean): Promise<void>;
|
|
327
|
+
expectDependencyContextualMenuFor(title: string, option?: boolean): Promise<void>;
|
|
328
|
+
removeDependency(title: string): Promise<void>;
|
|
329
|
+
expectDependencyNotToBeVisible(): Promise<void>;
|
|
330
|
+
getDependencyCount(): Promise<number>;
|
|
331
|
+
addDependency(): Promise<void>;
|
|
332
|
+
addCondition(): Promise<void>;
|
|
333
|
+
expectDependencyText(dependencies: string, isVisible?: boolean): Promise<void>;
|
|
334
|
+
clickEditDependency(dependencies: string): Promise<void>;
|
|
335
|
+
validateAutoCompleteOptionsInDescription(descriptionName: string, expectedVariableCount: number, variableToSelection?: string): Promise<void>;
|
|
336
|
+
validateAutoCompleteOptions(fieldLabel: string, value: string, expectedVariableCount: number, variableToSelect?: string): Promise<void>;
|
|
337
|
+
setReleaseTitle(releaseName: string): Promise<void>;
|
|
338
|
+
setFolder(folderName: string): Promise<void>;
|
|
339
|
+
setTemplate(templateName: string): Promise<void>;
|
|
340
|
+
clearTemplate(): Promise<void>;
|
|
341
|
+
errorMsgVisible(errorMessage: string): Promise<void>;
|
|
342
|
+
isButtonVisible(buttonName: string, visible?: boolean): Promise<void>;
|
|
343
|
+
cancelDialogWindow(): Promise<void>;
|
|
344
|
+
acceptDialogWindow(): Promise<void>;
|
|
345
|
+
setRiskProfile(RiskProfile: string): Promise<void>;
|
|
346
|
+
expectTemplate(template: string): Promise<void>;
|
|
347
|
+
setAutoCompletePassword(passwordValue: string): Promise<void>;
|
|
348
|
+
setAutoCompleteField(fieldLabel: string, value: string): Promise<void>;
|
|
349
|
+
setNewAutoCompleteField(fieldLabel: string, value: string): Promise<void>;
|
|
350
|
+
setTextField(fieldID: string, value: string): Promise<void>;
|
|
351
|
+
setEmailField(fieldName: string, value: string): Promise<void>;
|
|
352
|
+
selectValueFromOption(fieldId: string, value: string): Promise<void>;
|
|
353
|
+
abortButtonVisibility(visible?: boolean): Promise<void>;
|
|
354
|
+
setPattern(patternName: string): Promise<void>;
|
|
355
|
+
setStartDate(date: string): Promise<void>;
|
|
356
|
+
setEndDate(date: string): Promise<void>;
|
|
357
|
+
enableFallback(): Promise<void>;
|
|
358
|
+
expectDescription(description: string): Promise<void>;
|
|
359
|
+
editDescription(description: string): Promise<void>;
|
|
360
|
+
expectedGateConditionDisplayed(title: string, isVisible?: boolean): Promise<void>;
|
|
361
|
+
expectedGateConditionChecked(title: string, expected?: boolean): Promise<void>;
|
|
362
|
+
removeCondition(title: string): Promise<void>;
|
|
363
|
+
checkGateCondition(title: string): Promise<void>;
|
|
364
|
+
expectScriptEditable(): Promise<void>;
|
|
365
|
+
expectInputPropertiesEditable(propertyName: Array<string> | string): Promise<void>;
|
|
366
|
+
setSelectField(fieldName: string, fieldValue: string): Promise<void>;
|
|
367
|
+
expectStartReleaseToBe(value: string): Promise<void>;
|
|
368
|
+
setStartReleaseVariable(value: string): Promise<void>;
|
|
369
|
+
close(): Promise<void>;
|
|
370
|
+
deselectValue(ObjectID: string): Promise<this>;
|
|
371
|
+
expectEditVariableList(isVisible?: boolean): Promise<this>;
|
|
372
|
+
clickEditVariableList(): Promise<this>;
|
|
373
|
+
removeVariable(variableName: string): Promise<this>;
|
|
374
|
+
saveVariable(): Promise<this>;
|
|
375
|
+
selectVariable(variable: Array<string> | string): Promise<this>;
|
|
376
|
+
setValueForUserInputField(propertyName: string, value: string): Promise<void>;
|
|
377
|
+
toggleIgnoreVariableInterpolation(): Promise<void>;
|
|
378
|
+
}
|
|
379
|
+
declare class ModalWindow extends WithPage {
|
|
380
|
+
saveLocator: Locator;
|
|
381
|
+
modalLocator: Locator;
|
|
382
|
+
constructor(page: Page);
|
|
383
|
+
setInputTextField(propertyName: string, value: string): Promise<void>;
|
|
384
|
+
save(): Promise<void>;
|
|
385
|
+
}
|
|
386
|
+
declare class Dependency extends WithPage {
|
|
387
|
+
constructor(page: Page);
|
|
388
|
+
getRelease(): Promise<string | null>;
|
|
389
|
+
getPhase(): Promise<string | null>;
|
|
390
|
+
getTask(): Promise<string | null>;
|
|
391
|
+
setRelease(releaseTitle: string): Promise<void>;
|
|
392
|
+
save(): Promise<void>;
|
|
393
|
+
setPhase(phaseTitle: string): Promise<void>;
|
|
394
|
+
setTask(taskTitle: string): Promise<void>;
|
|
395
|
+
clearPhase(): Promise<void>;
|
|
396
|
+
expectVariableModeEnabled(mode: boolean): Promise<void>;
|
|
397
|
+
clickVariable(): Promise<void>;
|
|
398
|
+
expectMinimumOptions(options: any[]): Promise<void>;
|
|
399
|
+
enterNewVariable(variableName: string): Promise<void>;
|
|
400
|
+
selectVariable(variableName: string): Promise<void>;
|
|
401
|
+
}
|
|
402
|
+
declare class StringList extends WithPage {
|
|
403
|
+
propertyName: string;
|
|
404
|
+
constructor(propertyName: string, page: Page);
|
|
405
|
+
setValueFromStringList(value: string): Promise<this>;
|
|
406
|
+
expectStringListCount(count: number): Promise<this>;
|
|
407
|
+
removeValueFromStringList(value: string): Promise<this>;
|
|
408
|
+
expectInputFieldDisabled(): Promise<this>;
|
|
409
|
+
expectValueFromStringList(value: string): Promise<this>;
|
|
410
|
+
}
|
|
411
|
+
declare class StringSet extends WithPage {
|
|
412
|
+
propertyName: string;
|
|
413
|
+
constructor(propertyName: string, page: Page);
|
|
414
|
+
setValueFromStringSet(value: string): Promise<this>;
|
|
415
|
+
expectInputFieldDisabled(): Promise<this>;
|
|
416
|
+
expectAddButtonDisabled(): Promise<this>;
|
|
417
|
+
expectStringSetCount(count: number): Promise<this>;
|
|
418
|
+
removeValueFromStringSet(key: string): Promise<this>;
|
|
419
|
+
}
|
|
420
|
+
declare class StringMap extends WithPage {
|
|
421
|
+
propertyName: string;
|
|
422
|
+
constructor(propertyName: string, page: Page);
|
|
423
|
+
setValueFromMap(key: string, value: string): Promise<void>;
|
|
424
|
+
removeValueFromMap(key: string): Promise<this>;
|
|
425
|
+
expectStringMapCount(count: number): Promise<this>;
|
|
426
|
+
expectAddButtonDisabledForMap(key: string, value: string): Promise<this>;
|
|
427
|
+
expectInputFieldDisabledForMap(): Promise<this>;
|
|
428
|
+
}
|
|
429
|
+
declare class SchedulingRail extends WithPage {
|
|
430
|
+
dateUtil: DateUtil;
|
|
431
|
+
constructor(page: Page);
|
|
432
|
+
expectStartDateToBeDisplayed(): Promise<void>;
|
|
433
|
+
expectStartDateToBe(date: string): Promise<void>;
|
|
434
|
+
expectStartDateWarningBannerToNotBePresent(): Promise<void>;
|
|
435
|
+
expectStartDateWarningBanner(text: string, originalScheduledStartDate?: string): Promise<void>;
|
|
436
|
+
expectEndDateToBeDisplayed(): Promise<void>;
|
|
437
|
+
switchWaitForScheduledDate(): Promise<void>;
|
|
438
|
+
expectWaitForScheduledDateToBeChecked(): Promise<void>;
|
|
439
|
+
expectWaitForScheduledDateToBeUnchecked(): Promise<void>;
|
|
440
|
+
setDueTime(day?: string, hour?: string, minute?: string): Promise<void>;
|
|
441
|
+
setStartDate(date: string, monthYear: string): Promise<void>;
|
|
442
|
+
setEndDate(date: string, monthYear: string): Promise<void>;
|
|
443
|
+
setDate(date: string, monthYear: string): Promise<void>;
|
|
444
|
+
checkDelayDuringBlackoutPeriod(): Promise<void>;
|
|
445
|
+
unCheckDelayDuringBlackoutPeriod(): Promise<void>;
|
|
446
|
+
checkEnvironmentAvailability(): Promise<void>;
|
|
447
|
+
unCheckEnvironmentAvailability(): Promise<void>;
|
|
448
|
+
}
|
|
449
|
+
declare class HistoryRail extends WithPage {
|
|
450
|
+
logsFilterInput: Locator;
|
|
451
|
+
logContentWrapper: Locator;
|
|
452
|
+
sortButton: Locator;
|
|
453
|
+
constructor(page: Page);
|
|
454
|
+
expectLogToContain(log: string, shouldContain?: boolean): Promise<void>;
|
|
455
|
+
expectLogToContainAtPosition(log: string, positionIndex: number): Promise<this>;
|
|
456
|
+
searchLogs(filter: string): Promise<this>;
|
|
457
|
+
clickOnSortIconButton(): Promise<this>;
|
|
458
|
+
}
|
|
459
|
+
type Rail = 'Overview' | 'Activity' | 'Config' | 'Scheduling' | 'Conditions' | 'Attributes' | 'Attach' | 'Tags' | 'History';
|
|
460
|
+
declare class TaskDrawer extends WithPage {
|
|
461
|
+
activity: ActivityRail;
|
|
462
|
+
attachment: AttachmentRail;
|
|
463
|
+
attribute: AttributeRail;
|
|
464
|
+
cancelButton: Locator;
|
|
465
|
+
commentBox: Locator;
|
|
466
|
+
completeButton: Locator;
|
|
467
|
+
confirm: Locator;
|
|
468
|
+
config: ConfigRail;
|
|
469
|
+
condition: ConditionRail;
|
|
470
|
+
failMenu: Locator;
|
|
471
|
+
history: HistoryRail;
|
|
472
|
+
retryButton: Locator;
|
|
473
|
+
openMenu: Locator;
|
|
474
|
+
overview: OverviewRail;
|
|
475
|
+
scheduling: SchedulingRail;
|
|
476
|
+
skipMenu: Locator;
|
|
477
|
+
startButton: Locator;
|
|
478
|
+
taskDrawerLocator: Locator;
|
|
479
|
+
constructor(page: Page);
|
|
480
|
+
waitForTaskDrawer(): Promise<void>;
|
|
481
|
+
openOverviewRail(): Promise<void>;
|
|
482
|
+
openActivityRail(): Promise<void>;
|
|
483
|
+
openSchedulingRail(): Promise<SchedulingRail>;
|
|
484
|
+
openConditionRail(): Promise<void>;
|
|
485
|
+
openAttributesRail(): Promise<void>;
|
|
486
|
+
openAttachRail(): Promise<void>;
|
|
487
|
+
openTagsRail(): Promise<void>;
|
|
488
|
+
openHistoryRail(): Promise<void>;
|
|
489
|
+
openRail(rail: Rail): Promise<void>;
|
|
490
|
+
close(): Promise<void>;
|
|
491
|
+
retryTask(comment: string): Promise<void>;
|
|
492
|
+
skipTask(comment: string): Promise<void>;
|
|
493
|
+
failTask(comment: string): Promise<void>;
|
|
494
|
+
completeTask(comment: string): Promise<void>;
|
|
495
|
+
startNow(comment: string): Promise<void>;
|
|
496
|
+
startNowWithBlackout(comment: string): Promise<void>;
|
|
497
|
+
expectTaskTitle(taskTitle: string): Promise<void>;
|
|
498
|
+
expectCompleteButtonEnabled(): Promise<void>;
|
|
499
|
+
expectCompleteButtonNotEnabled(): Promise<void>;
|
|
500
|
+
expectButtonNotVisible(buttonName: string): Promise<this>;
|
|
501
|
+
expectSkipMenuNotEnabled(): Promise<void>;
|
|
502
|
+
setTitle(title: string): Promise<void>;
|
|
503
|
+
expectTaskTitleEditable(): Promise<this>;
|
|
504
|
+
expectTypeToContain(taskType: string): Promise<void>;
|
|
505
|
+
clickExpand(): Promise<void>;
|
|
506
|
+
clickShrink(): Promise<void>;
|
|
507
|
+
expectAssignedTo(username: string): Promise<void>;
|
|
508
|
+
expectStartButtonToBeEnabled(isEnabled?: boolean): Promise<void>;
|
|
509
|
+
startTask(comment: string): Promise<void>;
|
|
510
|
+
clickOnStartDate(): Promise<void>;
|
|
511
|
+
removeStartDate(): Promise<void>;
|
|
512
|
+
setStartDate(date: string): Promise<void>;
|
|
513
|
+
assignToMe(userName: string, existingUsername: string): Promise<void>;
|
|
514
|
+
expectAssigneeToBeEnabled(): Promise<void>;
|
|
515
|
+
removeAssignToUser(userName: string): Promise<this>;
|
|
516
|
+
assignToTeam(existingTeamName: string, teamName: string): Promise<this>;
|
|
517
|
+
expectAssignedToTeam(teamName: string): Promise<void>;
|
|
518
|
+
removeAssignedTeam(teamName: string): Promise<this>;
|
|
519
|
+
setFlag(flagName: string, flagComment: string): Promise<void>;
|
|
520
|
+
expectFlaggedWith(flagName: string, flagComment: string): Promise<void>;
|
|
521
|
+
expectStartDateToBeDisplayed(): Promise<void>;
|
|
522
|
+
expectStartDayToBeInAvatar(expectedDay: string): Promise<void>;
|
|
523
|
+
expectEndDayToBeInAvatar(expectedDay: string): Promise<void>;
|
|
524
|
+
expectEndDateToBeDisplayed(): Promise<void>;
|
|
525
|
+
expectStartDateAndEndDateToBeDisplayed(): Promise<void>;
|
|
526
|
+
expectPhaseAndTaskTitleToContain(phaseName: string, taskTitle: string): Promise<void>;
|
|
527
|
+
expectTaskStatusLine(statusLine: string): Promise<void>;
|
|
528
|
+
expectTaskStatusLineHref(link: RegExp): Promise<void>;
|
|
529
|
+
expectNoTaskActionButton(): Promise<void>;
|
|
530
|
+
clickTaskOptionIcon(): Promise<void>;
|
|
531
|
+
deleteTaskFromOption(): Promise<void>;
|
|
532
|
+
duplicateTaskFromOption(): Promise<void>;
|
|
533
|
+
expectOptionNotVisible(option: string): Promise<void>;
|
|
534
|
+
refresh(): Promise<void>;
|
|
535
|
+
expectRefreshButtonNotVisible(): Promise<void>;
|
|
536
|
+
}
|
|
537
|
+
declare class ReleaseGanttPage extends WithPage {
|
|
538
|
+
releaseHeader: Locator;
|
|
539
|
+
taskDrawer: TaskDrawer;
|
|
540
|
+
constructor(page: Page);
|
|
541
|
+
enableShowDates(): Promise<void>;
|
|
542
|
+
disableShowDates(): Promise<void>;
|
|
543
|
+
expectPlanningDataColumnsHidden(): Promise<void>;
|
|
544
|
+
expectPlanningDateColumnsShown(): Promise<void>;
|
|
545
|
+
expectReleaseOnBreadcrumb(title: string): Promise<void>;
|
|
546
|
+
expectPhaseDisplayed(phaseName: string): Promise<void>;
|
|
547
|
+
expectTaskDisplayed(taskName: string, isDisplayed?: boolean): Promise<void>;
|
|
548
|
+
expandGanttTree(title: string): Promise<void>;
|
|
549
|
+
expectDifferentWidth(title1: string, title2: string): Promise<void>;
|
|
550
|
+
expectSameWidth(title1: string, title2: string): Promise<void>;
|
|
551
|
+
expectElementWithClasses(title: string, classes: Array<string>): Promise<void>;
|
|
552
|
+
resizeToDayIndex(title: string, index: number): Promise<void>;
|
|
553
|
+
expectLinksToBeDisplayed(countOfLinks: number): Promise<void>;
|
|
554
|
+
expectLeftHandleVisibility(title: string, visible: boolean): Promise<void>;
|
|
555
|
+
expectRightHandleVisibility(title: string, visible: boolean): Promise<void>;
|
|
556
|
+
openTaskDrawer(title: string): Promise<TaskDrawer>;
|
|
557
|
+
openPhaseDetails(phaseName: string): Promise<void>;
|
|
558
|
+
getRow(phaseName: string): GanttRow;
|
|
559
|
+
}
|
|
560
|
+
declare class GanttRow extends WithPage {
|
|
561
|
+
dateUtil: DateUtil;
|
|
562
|
+
constructor(page: Page, phaseName: string);
|
|
563
|
+
setStartDate(date?: string, monthYear?: string): Promise<void>;
|
|
564
|
+
setEndDate(date?: string, monthYear?: string): Promise<void>;
|
|
565
|
+
expectStartDateToBe(date: Date | string): Promise<void>;
|
|
566
|
+
expectEndDateToBe(date: Date | string): Promise<void>;
|
|
567
|
+
removeStartDate(): Promise<void>;
|
|
568
|
+
removeEndDate(): Promise<void>;
|
|
569
|
+
expectStartDateToBeInferred(): Promise<void>;
|
|
570
|
+
expectEndDateToBeInferred(): Promise<void>;
|
|
571
|
+
expectStartDateNotDeletable(): Promise<void>;
|
|
572
|
+
expectEndDateNotDeletable(): Promise<void>;
|
|
573
|
+
expectDurationToBe(duration: string): Promise<void>;
|
|
574
|
+
clickDuration(): Promise<void>;
|
|
575
|
+
removeDuration(): Promise<void>;
|
|
576
|
+
expectNoDuration(): Promise<void>;
|
|
577
|
+
}
|
|
578
|
+
declare class ReleasePropertiesPage extends WithPage {
|
|
579
|
+
constructor(page: Page);
|
|
580
|
+
editReleaseName(name: string): Promise<void>;
|
|
581
|
+
setDescription(description: string): Promise<void>;
|
|
582
|
+
setScriptUsername(username: string): Promise<void>;
|
|
583
|
+
setScriptUserPassword(password: string): Promise<void>;
|
|
584
|
+
save(): Promise<void>;
|
|
585
|
+
reset(): Promise<void>;
|
|
586
|
+
expectWithAttachment(filename: string): Promise<void>;
|
|
587
|
+
getAttachmentsListCount(): Promise<number>;
|
|
588
|
+
uploadFile(filePath: string): Promise<void>;
|
|
589
|
+
expectWithNoAttachment(filename: string): Promise<void>;
|
|
590
|
+
downloadFile(filename: string): Promise<void>;
|
|
591
|
+
deleteAttachment(fileName: string): Promise<void>;
|
|
592
|
+
expectVariableDisplayed(variable: string, present: boolean): Promise<void>;
|
|
593
|
+
setScheduledStartDate(date?: string, monthYear?: string): Promise<void>;
|
|
594
|
+
setScheduledStartTime(hrs?: string, mins?: string, meridian?: string): Promise<void>;
|
|
595
|
+
setDuration(days?: string, hours?: string, mins?: string): Promise<void>;
|
|
596
|
+
expectScheduledStartDateToBe(date: string): Promise<void>;
|
|
597
|
+
expectScheduledStartTimeToBe(date: string): Promise<void>;
|
|
598
|
+
expectDueDateToBe(date: string): Promise<void>;
|
|
599
|
+
expectedDueDateTime(time: string): Promise<void>;
|
|
600
|
+
expectDurationToBe(duration: string): Promise<void>;
|
|
601
|
+
setDueDate(hrs?: string, min?: string, meridian?: string): Promise<void>;
|
|
602
|
+
checkAbortOnFailure(): Promise<void>;
|
|
603
|
+
expectDescriptionToBe(description: string): Promise<void>;
|
|
604
|
+
expectReleaseNameToBe(name: string): Promise<void>;
|
|
605
|
+
expectStartDateReadonly(): Promise<void>;
|
|
606
|
+
expectEndDateReadonly(): Promise<void>;
|
|
607
|
+
setOwner(user: string): Promise<void>;
|
|
608
|
+
expectPageTitleToBeInBreadcrumbLink(releaseName: string): Promise<void>;
|
|
609
|
+
reloadPage(): Promise<void>;
|
|
610
|
+
expectOwnerToBe(user: string): Promise<void>;
|
|
611
|
+
expectReleaseTaggedWith(tagName: string): Promise<void>;
|
|
612
|
+
expectTemplateTitleToBe(templateTitle: string): Promise<void>;
|
|
613
|
+
expectRiskProfileTitleToBe(riskProfile: string): Promise<void>;
|
|
614
|
+
expectStartFromReleaseToBe(parentRelease: string): Promise<void>;
|
|
615
|
+
expectTemplateURLToBe(templateURL: string): Promise<void>;
|
|
616
|
+
expectStartFromReleaseURLToBe(parentReleaseURL: string): Promise<void>;
|
|
617
|
+
}
|
|
618
|
+
declare class ReleaseTeamsAndPermissionsPage extends WithPage {
|
|
619
|
+
saveButton: Locator;
|
|
620
|
+
resetButton: Locator;
|
|
621
|
+
constructor(page: Page);
|
|
622
|
+
expectSaveButtonDisabled(): Promise<void>;
|
|
623
|
+
expectUserIsAssignedToTeam(teamName: string, userName: string): Promise<void>;
|
|
624
|
+
}
|
|
625
|
+
declare class ReleaseTableViewPage extends WithPage {
|
|
626
|
+
commentBox: Locator;
|
|
627
|
+
contextMenuButton: Locator;
|
|
628
|
+
completeButton: Locator;
|
|
629
|
+
dateUtil: DateUtil;
|
|
630
|
+
refreshButton: Locator;
|
|
631
|
+
taskDrawer: TaskDrawer;
|
|
632
|
+
constructor(page: Page);
|
|
633
|
+
openContextMenuForTask(taskTitle: string): Promise<void>;
|
|
634
|
+
callMenuOptionsForTask(taskTitle: string, option: string, taskGroup?: string, taskType?: string): Promise<void>;
|
|
635
|
+
expectAssignToUser(taskTitle: string, username: string): Promise<void>;
|
|
636
|
+
expectToHasGateIcon(taskTitle: string): Promise<void>;
|
|
637
|
+
expectTaskRowCountToBe(title: string, expectedCount: number): Promise<void>;
|
|
638
|
+
setHeaderFilter(columnTitle: string, valueToFilter: string): Promise<void>;
|
|
639
|
+
expectRowCountToBe(cellCount: number): Promise<void>;
|
|
640
|
+
filterStartDate(date: string, monthYear: string): Promise<void>;
|
|
641
|
+
filterEndDate(date: string, monthYear: string): Promise<void>;
|
|
642
|
+
openTaskDrawer(taskTitle: string): Promise<TaskDrawer>;
|
|
643
|
+
collapseNthRowByIndex(Indexnumber: number): Promise<void>;
|
|
644
|
+
closePhaseModal(): Promise<void>;
|
|
645
|
+
expectTaskToHaveStatus(taskTitle: string, status: string): Promise<void>;
|
|
646
|
+
expectOverdueOnEndDate(taskTitle: string): Promise<void>;
|
|
647
|
+
selectTask(taskTitle: string): Promise<void>;
|
|
648
|
+
expectSelectedTasksCounter(text: string): Promise<void>;
|
|
649
|
+
clearSelection(): Promise<this>;
|
|
650
|
+
assignSelectedTasks(owner?: string, team?: string): Promise<this>;
|
|
651
|
+
expectSuccessMessage(successMessage: string): Promise<this>;
|
|
652
|
+
completeSelectedTasks(comment: string): Promise<this>;
|
|
653
|
+
selectFromMoreActions(menuItem: string): Promise<this>;
|
|
654
|
+
addCommentToSelectedTask(comment: string): Promise<this>;
|
|
655
|
+
selectSubtasks(item: string): Promise<this>;
|
|
656
|
+
shiftSelectFromTo(taskFrom: string, taskTo: string): Promise<this>;
|
|
657
|
+
isContextualMenuItemEnabled(menuName: string, taskTitle: string): Promise<void>;
|
|
658
|
+
isContextualMenuItemDisabled(menuName: string, taskTitle: string): Promise<void>;
|
|
659
|
+
closeContextMenu(): Promise<void>;
|
|
660
|
+
expectDisabledActions(actionName: string): Promise<this>;
|
|
661
|
+
expectDisabledActionsOnMoreActionsMenu(menuItem: Array<string> | string): Promise<this>;
|
|
662
|
+
}
|
|
663
|
+
declare class Util extends WithPage {
|
|
664
|
+
tempDir: string;
|
|
665
|
+
content: string;
|
|
666
|
+
closeIcon: Locator;
|
|
667
|
+
constructor(page: Page);
|
|
668
|
+
createTempFile(fileName: path.ParsedPath | string, testInfo: any): Promise<void>;
|
|
669
|
+
expandAllFolders(): Promise<void>;
|
|
670
|
+
openSideNavMenu(menuItem: string): Promise<void>;
|
|
671
|
+
openNestedMenuItem(nestedMenuItem: string): Promise<void>;
|
|
672
|
+
clickCloseIcon(): Promise<void>;
|
|
673
|
+
clickOnStatusField(): Promise<void>;
|
|
674
|
+
clickOnStatus(statusNames: string[]): Promise<void>;
|
|
675
|
+
clickOnStatusClearAll(): Promise<void>;
|
|
676
|
+
clickOnStatusSelectAll(): Promise<void>;
|
|
677
|
+
setOrderBy(orderBy: string): Promise<void>;
|
|
678
|
+
setSearchFilter(filterText: string): Promise<void>;
|
|
679
|
+
clearSearchFilter(): Promise<void>;
|
|
680
|
+
leaveWithoutSaving(): Promise<void>;
|
|
681
|
+
}
|
|
682
|
+
declare class ReleasePage extends WithPage {
|
|
683
|
+
addPhaseBtn: Locator;
|
|
684
|
+
createPage: ReleaseCreatePage;
|
|
685
|
+
ganttPage: ReleaseGanttPage;
|
|
686
|
+
tableView: ReleaseTableViewPage;
|
|
687
|
+
taskDrawer: TaskDrawer;
|
|
688
|
+
teamsPermissions: ReleaseTeamsAndPermissionsPage;
|
|
689
|
+
phaseTitle: Locator;
|
|
690
|
+
properties: ReleasePropertiesPage;
|
|
691
|
+
variables: VariablePage;
|
|
692
|
+
util: Util;
|
|
693
|
+
constructor(page: Page);
|
|
694
|
+
openTriggers(): Promise<TriggersPage>;
|
|
695
|
+
abort(comment?: string): Promise<void>;
|
|
696
|
+
getPhase(phaseName: string): Phase;
|
|
697
|
+
expectPhaseCountToBe(expectedPhaseCount: number): Promise<void>;
|
|
698
|
+
expectVariableToBeFound(variableName: string): Promise<void>;
|
|
699
|
+
expectNotFlagged(): Promise<void>;
|
|
700
|
+
expectRiskFlagOnTaskCard(): Promise<void>;
|
|
701
|
+
expectBlackoutIconOnTaskCard(taskTitle: string): Promise<void>;
|
|
702
|
+
expectFlagOnCompletedTaskCard(): Promise<void>;
|
|
703
|
+
refresh(): Promise<void>;
|
|
704
|
+
start(): Promise<void>;
|
|
705
|
+
waitForCompletion(timeout?: number): Promise<void>;
|
|
706
|
+
waitForTaskCompleted(taskTitle: string, timeout?: number): Promise<void>;
|
|
707
|
+
waitForTaskNeedsInput(taskTitle: string): Promise<void>;
|
|
708
|
+
waitForTaskCompletedInAdvance(taskTitle: string, timeout?: number): Promise<void>;
|
|
709
|
+
waitForTaskInProgress(taskTitle: string, timeout?: number): Promise<void>;
|
|
710
|
+
waitForTaskFailed(taskTitle: string, timeout?: number): Promise<void>;
|
|
711
|
+
waitForTaskFailing(taskTitle: string): Promise<void>;
|
|
712
|
+
waitForTaskSkipped(taskTitle: string, timeout?: number): Promise<void>;
|
|
713
|
+
waitForTaskSkippedInAdvance(taskTitle: string, timeout?: number): Promise<void>;
|
|
714
|
+
waitForTaskAborted(taskTitle: string, timeout?: number): Promise<void>;
|
|
715
|
+
waitForStatusLine(statusLine: string, timeout?: number): Promise<void>;
|
|
716
|
+
expectTaskStatusLineToContain(taskTitle: string, info: string): Promise<void>;
|
|
717
|
+
expectTaskStatusLineToContainHref(taskTitle: string, link: RegExp): Promise<void>;
|
|
718
|
+
waitForTaskStarted(taskTitle: string, timeout?: number): Promise<void>;
|
|
719
|
+
waitForTaskPlanned(title: string): Promise<void>;
|
|
720
|
+
clickOnStatusLine(statusLine: string): Promise<void>;
|
|
721
|
+
expectTaskCompletedInAdvance(taskTitle: string): Promise<void>;
|
|
722
|
+
expectTaskPending(taskTitle: string): Promise<void>;
|
|
723
|
+
expectCurrentTaskToContain(taskTitle: string): Promise<void>;
|
|
724
|
+
openManualTaskDetails(title: string): Promise<void>;
|
|
725
|
+
reopenTask(comment: string): Promise<void>;
|
|
726
|
+
openTaskDrawer(taskName: string): Promise<TaskDrawer>;
|
|
727
|
+
openTaskDrawerFromTableView(taskName: string): Promise<TaskDrawer>;
|
|
728
|
+
openTaskDrawerFromGrantt(taskName: string): Promise<TaskDrawer>;
|
|
729
|
+
openVariables(): Promise<void>;
|
|
730
|
+
openProperties(): Promise<void>;
|
|
731
|
+
openReleaseFlow(): Promise<void>;
|
|
732
|
+
openRelationships(): Promise<void>;
|
|
733
|
+
openTeamsPermissions(): Promise<void>;
|
|
734
|
+
openDashboard(): Promise<void>;
|
|
735
|
+
openHistory(): Promise<void>;
|
|
736
|
+
openTask(taskName: string): Promise<void>;
|
|
737
|
+
collapseAllTaskView(): Promise<void>;
|
|
738
|
+
expandAllTaskView(): Promise<void>;
|
|
739
|
+
expectTemplateLabelNotToBePresent(): Promise<void>;
|
|
740
|
+
expectAbortedStatusToBePresent(): Promise<void>;
|
|
741
|
+
expectInProgressStatusToBePresent(): Promise<void>;
|
|
742
|
+
expectFailedStatusToBePresent(): Promise<void>;
|
|
743
|
+
openTableView(): Promise<void>;
|
|
744
|
+
openPlannerView(): Promise<void>;
|
|
745
|
+
expandGanttFolder(): Promise<void>;
|
|
746
|
+
backToRelease(): Promise<void>;
|
|
747
|
+
expectTitleToBeInBreadcrumbLink(title: string): Promise<void>;
|
|
748
|
+
expectHasPhase(title: string): Promise<void>;
|
|
749
|
+
addNewPhase(phaseName?: string): Promise<void>;
|
|
750
|
+
renamePhase(oldPhaseName: string, newPhaseName: string): Promise<void>;
|
|
751
|
+
exportRelease(exportAs?: string): Promise<void>;
|
|
752
|
+
expectTaskToBePresent(taskName: string): Promise<void>;
|
|
753
|
+
expectTaskNotToBePresent(taskName: string): Promise<void>;
|
|
754
|
+
toggleTaskFilter(filterOption: string): Promise<void>;
|
|
755
|
+
clickFilterOptions(): Promise<void>;
|
|
756
|
+
expectTaskToHaveFailed(title: string, failCount: number): Promise<void>;
|
|
757
|
+
expectTaskToHaveBeenDelayed(title: string): Promise<void>;
|
|
758
|
+
expectOnePhaseDisplayed(): Promise<void>;
|
|
759
|
+
restartPhases(): Promise<RestartPhaseModel>;
|
|
760
|
+
expectAddPhaseNotVisible(): Promise<void>;
|
|
761
|
+
expectAddTaskNotVisible(): Promise<void>;
|
|
762
|
+
expectTaskCount(count: number): Promise<void>;
|
|
763
|
+
expectCurrentTaskCount(count: number): Promise<void>;
|
|
764
|
+
}
|
|
765
|
+
declare class Phase extends WithPage {
|
|
766
|
+
commentBox: Locator;
|
|
767
|
+
contextMenuButton: Locator;
|
|
768
|
+
dateUtil: DateUtil;
|
|
769
|
+
constructor(page: Page, phaseName: string);
|
|
770
|
+
setTitle(title: string): Promise<void>;
|
|
771
|
+
isMenuItemEnabled(menuName: string, taskTitle: string, group?: boolean): Promise<void>;
|
|
772
|
+
isMenuItemDisabled(menuName: string, taskTitle: string, group?: boolean): Promise<void>;
|
|
773
|
+
expectMenuItemIsNotVisible(menuName: string, taskTitle: string): Promise<void>;
|
|
774
|
+
expectMenuItemIsVisible(menuName: string, taskTitle: string): Promise<void>;
|
|
775
|
+
expectSubmenuItemIsVisible(parentMenuItem: string, menuName: string, taskTitle: string): Promise<void>;
|
|
776
|
+
clickSubmenuItemForTask(parentMenuItem: string, menuName: string, taskTitle: string): Promise<void>;
|
|
777
|
+
expectSnackbarSuccessMessage(message: string): Promise<void>;
|
|
778
|
+
closeContextMenu(): Promise<void>;
|
|
779
|
+
expectTaskBorderWithColor(taskName: string, color: string): Promise<void>;
|
|
780
|
+
pasteTaskFromTaskGenerator(): Promise<void>;
|
|
781
|
+
addTaskInPhase(taskTitle: string, taskGroup: string, taskType: string): Promise<void>;
|
|
782
|
+
getNumberOfTasks(): Promise<number>;
|
|
783
|
+
expectToHaveNoneditableTitle(phaseTitle: string): Promise<void>;
|
|
784
|
+
expectToHaveTitle(phaseTitle: string): Promise<void>;
|
|
785
|
+
openContextMenuForTask(taskTitle: string, group?: boolean): Promise<void>;
|
|
786
|
+
skipFromContextMenu(comment: string, taskTitle: string): Promise<void>;
|
|
787
|
+
completeFromContextMenu(taskTitle: string, comment: string): Promise<void>;
|
|
788
|
+
changeTypeFromContextMenu(taskTitle: string, taskGroup: string, taskType: string): Promise<this>;
|
|
789
|
+
unlockFromContextMenu(taskTitle: string, group?: boolean): Promise<void>;
|
|
790
|
+
lockFromContextMenu(taskTitle: string, group?: boolean): Promise<void>;
|
|
791
|
+
expectChangeTypeContextMenuDisabled(taskTitle: string, taskGroup: string, taskType: string): Promise<this>;
|
|
792
|
+
expectGateCheckMark(): Promise<this>;
|
|
793
|
+
expectLockCheckMark(taskTitle: string, isVisible?: boolean): Promise<this>;
|
|
794
|
+
expectFailureHandlerCheckMar(taskTitle: string, isVisible?: boolean): Promise<this>;
|
|
795
|
+
expectNoOptionInChangeType(taskTitle: string, taskGroup: string): Promise<this>;
|
|
796
|
+
assignToMeFromContextMenu(taskTitle: string): Promise<void>;
|
|
797
|
+
duplicateFromContextMenu(taskTitle: string): Promise<void>;
|
|
798
|
+
expectTemplateLabelNotToBePresent(): Promise<void>;
|
|
799
|
+
openPhaseDetails(): Promise<void>;
|
|
800
|
+
close(): Promise<void>;
|
|
801
|
+
expectStartDateToBeDisplayed(): Promise<void>;
|
|
802
|
+
expectDueDateToBeDisplayed(): Promise<void>;
|
|
803
|
+
expectEndDateToBeDisplayed(): Promise<void>;
|
|
804
|
+
setTitleFromPhaseDetails(title: string): Promise<void>;
|
|
805
|
+
setDueDateFromPhaseDetails(date?: string, monthYear?: string): Promise<void>;
|
|
806
|
+
setScheduledStartDateFromPhaseDetails(date?: string, monthYear?: string): Promise<void>;
|
|
807
|
+
expectDurationToBe(duration: string): Promise<void>;
|
|
808
|
+
setDurationFromPhaseDetails(days?: string, hours?: string, mins?: string): Promise<void>;
|
|
809
|
+
expectDueTimeToBe(format: string, date: Date | string): Promise<void>;
|
|
810
|
+
deleteTaskInPhase(taskName: string): Promise<void>;
|
|
811
|
+
deletePhase(phaseName: string): Promise<void>;
|
|
812
|
+
expectCompletedPhase(): Promise<void>;
|
|
813
|
+
clickViewAllCompletedPhase(): Promise<void>;
|
|
814
|
+
expectTaskToBePresent(taskName: string, visible?: boolean): Promise<void>;
|
|
815
|
+
expectContainingTask(taskName: string, exist?: boolean): Promise<void>;
|
|
816
|
+
addTaskInGroup(currentGroupType: string, taskTitle: string, taskGroup: string, taskType: string): Promise<void>;
|
|
817
|
+
openContextMenuForTaskInGroup(groupName: string, taskTitle: string): Promise<void>;
|
|
818
|
+
duplicateFromContextualMenuInGroup(groupName: string, taskTitle: string): Promise<this>;
|
|
819
|
+
deleteFromContextualMenuInGroup(groupName: string, taskTitle: string): Promise<this>;
|
|
820
|
+
duplicatePhase(): Promise<void>;
|
|
821
|
+
expectActionsDisabled(): Promise<void>;
|
|
822
|
+
expectTaskFailureManualPermission(): Promise<void>;
|
|
823
|
+
expectCurrentTaskCount(count: number): Promise<void>;
|
|
824
|
+
expectCompletedTaskCount(count: number): Promise<void>;
|
|
825
|
+
expectFailedTaskCount(count: number): Promise<void>;
|
|
826
|
+
expectFailingTaskCount(count: number): Promise<void>;
|
|
827
|
+
expectSkippedTaskCount(count: number): Promise<void>;
|
|
828
|
+
}
|
|
829
|
+
declare class RestartPhaseModel extends WithPage {
|
|
830
|
+
continueBtn: Locator;
|
|
831
|
+
constructor(page: Page);
|
|
832
|
+
fromPhase(phase: string): Promise<void>;
|
|
833
|
+
fromTask(task: string): Promise<void>;
|
|
834
|
+
expectNoTaskSelectorVisible(): Promise<void>;
|
|
835
|
+
continue(): Promise<void>;
|
|
836
|
+
resumeNow(): Promise<void>;
|
|
837
|
+
resumeLater(): Promise<void>;
|
|
838
|
+
}
|
|
839
|
+
declare class ApplicationsPage extends WithPage {
|
|
840
|
+
goToApplicationsPage(): Promise<this>;
|
|
841
|
+
addNewApplication(applicationName: string): Promise<this>;
|
|
842
|
+
verifyApplicationisCreated(applicationName: string): Promise<this>;
|
|
843
|
+
createApplicationAndLinkEnvironment(environmentName: string, applicationName: string): Promise<this>;
|
|
844
|
+
}
|
|
845
|
+
declare class DataRandomGenerator {
|
|
846
|
+
static codePointA: number;
|
|
847
|
+
static codePointZ: number;
|
|
848
|
+
static getString(): string;
|
|
849
|
+
static getNumber(min: number, max: number): number;
|
|
850
|
+
static getAlphabetsString(length: number): string;
|
|
851
|
+
}
|
|
852
|
+
declare class FolderDeliveryPage extends WithPage {
|
|
853
|
+
util: Util;
|
|
854
|
+
addName: Locator;
|
|
855
|
+
addDescription: Locator;
|
|
856
|
+
searchForDelivery: Locator;
|
|
857
|
+
constructor(page: Page);
|
|
858
|
+
filterDeliveryByName(deliveryName: string): Promise<void>;
|
|
859
|
+
editDelivery(deliveryName: string, newDeliveryName: string): Promise<void>;
|
|
860
|
+
deleteDelivery(deliveryName: string): Promise<void>;
|
|
861
|
+
expectDeliveryDisplayed(deliveryName: string): Promise<void>;
|
|
862
|
+
openDeliveries(): Promise<void>;
|
|
863
|
+
resetFilter(): Promise<void>;
|
|
864
|
+
setOrderBy(orderBy: string): Promise<void>;
|
|
865
|
+
openDeliveryFlow(title: string): Promise<void>;
|
|
866
|
+
completeStage(stageTitle: string, trackedItems?: string[]): Promise<this>;
|
|
867
|
+
reopenStage(stageTitle: string): Promise<this>;
|
|
868
|
+
verifyStageContextMenuIsPresent(titles: string[]): Promise<void>;
|
|
869
|
+
openFolderPath(folderPath: string): Promise<void>;
|
|
870
|
+
openDeliveryFromFolder(title: string): Promise<void>;
|
|
871
|
+
}
|
|
872
|
+
declare class FolderGroupsPage extends WithPage {
|
|
873
|
+
util: Util;
|
|
874
|
+
newReleaseGroupButton: Locator;
|
|
875
|
+
dateUtil: DateUtil;
|
|
876
|
+
dateMonth: Date;
|
|
877
|
+
constructor(page: Page);
|
|
878
|
+
createGroup(groupName: string, startDate?: string, endDate?: string): Promise<void>;
|
|
879
|
+
addReleaseToGroup(releaseName: string): Promise<void>;
|
|
880
|
+
editReleaseGroupName(newGroupName: string): Promise<void>;
|
|
881
|
+
enterGroupName(groupName: string): Promise<void>;
|
|
882
|
+
enterStartDate(date: string, monthYear: string): Promise<void>;
|
|
883
|
+
enterEndDate(date: string, monthYear: string): Promise<void>;
|
|
884
|
+
clickCreate(): Promise<void>;
|
|
885
|
+
expectSuccessMessageOnReleaseGroupCreation(): Promise<void>;
|
|
886
|
+
expectSuccessMessageOnAddingReleaseToGroup(): Promise<void>;
|
|
887
|
+
expectSuccessMessageOnUpdatingGroup(): Promise<void>;
|
|
888
|
+
closeNotificationBanner(): Promise<void>;
|
|
889
|
+
searchReleaseGroupByTitle(title: string): Promise<void>;
|
|
890
|
+
deleteReleaseGroup(title: string): Promise<void>;
|
|
891
|
+
clickReleaseGroupEdit(title: string): Promise<void>;
|
|
892
|
+
clickSave(): Promise<void>;
|
|
893
|
+
clickCancel(): Promise<void>;
|
|
894
|
+
clickOnStatusField(): Promise<void>;
|
|
895
|
+
statusFilter(statusNames: string[]): Promise<void>;
|
|
896
|
+
clickOnStatusClearAll(): Promise<void>;
|
|
897
|
+
clickOnStatusSelectAll(): Promise<void>;
|
|
898
|
+
}
|
|
899
|
+
declare class FolderPatternPage extends WithPage {
|
|
900
|
+
util: Util;
|
|
901
|
+
addName: Locator;
|
|
902
|
+
addDescription: Locator;
|
|
903
|
+
constructor(page: Page);
|
|
904
|
+
clickNewDeliveryPattern(): Promise<void>;
|
|
905
|
+
setPatternName(patternName: string): Promise<void>;
|
|
906
|
+
setPatternDescription(patternDescription: string): Promise<void>;
|
|
907
|
+
enableAutoComplete(): Promise<void>;
|
|
908
|
+
disableAutoComplete(): Promise<void>;
|
|
909
|
+
setDuration(month: number, days: number, hours: number): Promise<void>;
|
|
910
|
+
createNewPattern(patternName: string, patternDescription: string): Promise<void>;
|
|
911
|
+
clickEditPatternIcon(patternName: string): Promise<void>;
|
|
912
|
+
clickCopyPatternIcon(patternName: string): Promise<void>;
|
|
913
|
+
filterPatternByName(patternName: string): Promise<void>;
|
|
914
|
+
openProperties(): Promise<Properties>;
|
|
915
|
+
back(): Promise<void>;
|
|
916
|
+
copyPattern(existingPatternName: string, NewPatternName: string): Promise<void>;
|
|
917
|
+
clickDeletePattern(patternName: string): Promise<void>;
|
|
918
|
+
createNewDelivery(deliveryName: string, deliveryDes?: string, setAutoComplete?: true): Promise<void>;
|
|
919
|
+
}
|
|
920
|
+
declare class Properties extends WithPage {
|
|
921
|
+
addName: Locator;
|
|
922
|
+
addDescription: Locator;
|
|
923
|
+
constructor(page: Page);
|
|
924
|
+
editName(name: string): Promise<void>;
|
|
925
|
+
editDescription(description: string): Promise<void>;
|
|
926
|
+
editDuration(month: number, days: number, hours: number): Promise<void>;
|
|
927
|
+
save(): Promise<void>;
|
|
928
|
+
}
|
|
929
|
+
declare class FolderNotificationPage extends WithPage {
|
|
930
|
+
inheritCheckbox: Locator;
|
|
931
|
+
util: Util;
|
|
932
|
+
constructor(page: Page);
|
|
933
|
+
checkInheritNotifications(): Promise<void>;
|
|
934
|
+
uncheckInheritNotifications(): Promise<void>;
|
|
935
|
+
expectRecipientsNotToBeEditable(eventName: string): Promise<void>;
|
|
936
|
+
deleteTeam(eventName: string, teamName: string): Promise<void>;
|
|
937
|
+
expectEditMessageIsVisible(eventName: string): Promise<void>;
|
|
938
|
+
addTeam(eventName: string, teamName: string): Promise<void>;
|
|
939
|
+
clickEditMessage(eventName: string): Promise<void>;
|
|
940
|
+
editPriority(eventName: string, priority: string): Promise<void>;
|
|
941
|
+
}
|
|
942
|
+
declare class FolderPage extends WithPage {
|
|
943
|
+
deliveryPage: FolderDeliveryPage;
|
|
944
|
+
expandButton: Locator;
|
|
945
|
+
notificationPage: FolderNotificationPage;
|
|
946
|
+
patternPage: FolderPatternPage;
|
|
947
|
+
folderGroupsPage: FolderGroupsPage;
|
|
948
|
+
util: Util;
|
|
949
|
+
variables: VariablePage;
|
|
950
|
+
constructor(page: Page);
|
|
951
|
+
getFolderSearchInputLocator(): Locator;
|
|
952
|
+
openFoldersPage(): Promise<this>;
|
|
953
|
+
backToAllFolders(): Promise<this>;
|
|
954
|
+
createFolder(folderName: string): Promise<this>;
|
|
955
|
+
openFolder(folderName: string): Promise<this>;
|
|
956
|
+
openGroups(): Promise<FolderGroupsPage>;
|
|
957
|
+
createGroup(groupName: string): Promise<this>;
|
|
958
|
+
selectPlannedStatus(): Promise<this>;
|
|
959
|
+
expectReleaseGroupisDisplayed(title: string): Promise<this>;
|
|
960
|
+
createSubFolder(parentFolder: string, subFolderName: string): Promise<void>;
|
|
961
|
+
renameFolder(existingFolderName: string, newFolderName: string): Promise<void>;
|
|
962
|
+
deleteFolder(folderName: string): Promise<void>;
|
|
963
|
+
searchFolderByName(folderName: string): Promise<void>;
|
|
964
|
+
openPatterns(): Promise<FolderPatternPage>;
|
|
965
|
+
clickFolderOptions(folderName: string, option: string): Promise<void>;
|
|
966
|
+
clickExpandButton(): Promise<void>;
|
|
967
|
+
openDeliveriesOverview(): Promise<FolderDeliveryPage>;
|
|
968
|
+
openNotifications(): Promise<void>;
|
|
969
|
+
openTemplates(): Promise<void>;
|
|
970
|
+
openRelease(): Promise<void>;
|
|
971
|
+
expectReleaseStarted(releaseName: string): Promise<void>;
|
|
972
|
+
openVariables(): Promise<VariablePage>;
|
|
973
|
+
openCustomDashboard(): Promise<void>;
|
|
974
|
+
openReleaseByName(releaseName: string): Promise<void>;
|
|
975
|
+
}
|
|
976
|
+
declare class GlobalVariable extends WithPage {
|
|
977
|
+
addListValue: Locator;
|
|
978
|
+
listAddButton: Locator;
|
|
979
|
+
addVariableValue: Locator;
|
|
980
|
+
addVariablelabel: Locator;
|
|
981
|
+
constructor(page: Page);
|
|
982
|
+
addVariableText(valuename: string): Promise<void>;
|
|
983
|
+
addVariableListbox(possiblevalue: string): Promise<void>;
|
|
984
|
+
addVariablePassword(possiblevalue: string): Promise<void>;
|
|
985
|
+
addVariableCheckbox(): Promise<void>;
|
|
986
|
+
addVariableNumber(possiblevalue: string): Promise<void>;
|
|
987
|
+
addVariableList(possiblevalue1: string, possiblevalue2: string): Promise<void>;
|
|
988
|
+
addVariableMultiList(possiblevalue1: string, possiblevalue2: string): Promise<void>;
|
|
989
|
+
addVariableDate(): Promise<void>;
|
|
990
|
+
setDate(date?: string, monthYear?: string): Promise<void>;
|
|
991
|
+
addVariableKeyValueMap(keys1: string, values1: string): Promise<void>;
|
|
992
|
+
addVariableSet(possiblevalue1: string): Promise<void>;
|
|
993
|
+
addNewVariable(variableName: string, labelname: string, description: string): Promise<void>;
|
|
994
|
+
verifyGlobalVariableCreation(variableName: string): Promise<void>;
|
|
995
|
+
submitTheVariable(): Promise<void>;
|
|
996
|
+
deleteGlobalVariable(variableName: string): Promise<void>;
|
|
997
|
+
editVariable(variableName: string, editedvariabletext: string): Promise<void>;
|
|
998
|
+
}
|
|
999
|
+
declare class HomePage extends WithPage {
|
|
1000
|
+
configureButton: Locator;
|
|
1001
|
+
viewModeButton: Locator;
|
|
1002
|
+
constructor(page: Page);
|
|
1003
|
+
verifyHomePage(): Promise<void>;
|
|
1004
|
+
verifyConfigureButton(): Promise<void>;
|
|
1005
|
+
addReleaseTiles(): Promise<void>;
|
|
1006
|
+
addWorkflowTiles(): Promise<void>;
|
|
1007
|
+
addApplicationTiles(): Promise<void>;
|
|
1008
|
+
addTemplateTiles(): Promise<void>;
|
|
1009
|
+
addAnnouncementTiles(): Promise<void>;
|
|
1010
|
+
addAnaslyticsTiles(): Promise<void>;
|
|
1011
|
+
/**
|
|
1012
|
+
* Remove the tiles from the home page
|
|
1013
|
+
* @param tileName name of the tile to be removed
|
|
1014
|
+
* tileName TileName should be "Releases", "Workflows", "Applications", "Templates", "Announcements", "Analytics"
|
|
1015
|
+
*/
|
|
1016
|
+
removeTiles(tileName: string): Promise<void>;
|
|
1017
|
+
verifyWhatsNewButton(): Promise<void>;
|
|
1018
|
+
}
|
|
1019
|
+
declare class HeaderPage extends WithPage {
|
|
1020
|
+
announcementIcon: Locator;
|
|
1021
|
+
settingsIcon: Locator;
|
|
1022
|
+
aboutMenu: Locator;
|
|
1023
|
+
util: Util;
|
|
1024
|
+
constructor(page: Page);
|
|
1025
|
+
verifyVersionNumber(versionNumber: string): Promise<void>;
|
|
1026
|
+
verifyProductAnnouncements(): Promise<void>;
|
|
1027
|
+
clickHelpIcon(): Promise<void>;
|
|
1028
|
+
verifyOnlineDocumentation(): Promise<void>;
|
|
1029
|
+
verifySupportRequest(): Promise<void>;
|
|
1030
|
+
verifySuggestAFeature(): Promise<void>;
|
|
1031
|
+
verifyDigitalAiWebsite(): Promise<void>;
|
|
1032
|
+
clickAvatarIcon(username: string): Promise<void>;
|
|
1033
|
+
verifyUser(userFullName: string): Promise<void>;
|
|
1034
|
+
clickAccessTokens(): Promise<void>;
|
|
1035
|
+
getVersionNumber(): Promise<string>;
|
|
1036
|
+
}
|
|
1037
|
+
declare class ManagePluginsPage extends WithPage {
|
|
1038
|
+
util: Util;
|
|
1039
|
+
constructor(page: Page);
|
|
1040
|
+
openPluginGallery(): Promise<void>;
|
|
1041
|
+
openInstalledPlugins(): Promise<void>;
|
|
1042
|
+
searchForPlugins(searchText: string): Promise<void>;
|
|
1043
|
+
refreshPluginList(): Promise<void>;
|
|
1044
|
+
clickInstallNow(pluginName: string): Promise<void>;
|
|
1045
|
+
expectRestartInfo(): Promise<void>;
|
|
1046
|
+
expectNewPluginInstallationInfo(pluginName: string): Promise<void>;
|
|
1047
|
+
clickUpload(): Promise<void>;
|
|
1048
|
+
}
|
|
1049
|
+
declare class PersonalAccessTokenPage extends WithPage {
|
|
1050
|
+
openPersonalAccessTokenPage(): Promise<this>;
|
|
1051
|
+
addNewToken(tokenName: string): Promise<this>;
|
|
1052
|
+
}
|
|
1053
|
+
declare class PersonalSettingsPage extends WithPage {
|
|
1054
|
+
util: Util;
|
|
1055
|
+
constructor(page: Page);
|
|
1056
|
+
openProfile(): Promise<void>;
|
|
1057
|
+
openAccessToken(): Promise<void>;
|
|
1058
|
+
expectEmailDefined(email: string): Promise<PersonalSettingsPage>;
|
|
1059
|
+
expectNoEmailDefined(): Promise<PersonalSettingsPage>;
|
|
1060
|
+
expectFullNameDefined(fullName: string): Promise<PersonalSettingsPage>;
|
|
1061
|
+
expectNoFullNameDefined(): Promise<PersonalSettingsPage>;
|
|
1062
|
+
expectPasswordNotToBe(password: string): Promise<PersonalSettingsPage>;
|
|
1063
|
+
expectDateFormatToBe(dateFormat: string): Promise<PersonalSettingsPage>;
|
|
1064
|
+
expectTimeFormatToBe(timeFormat: string): Promise<PersonalSettingsPage>;
|
|
1065
|
+
expectFirstDayOfWeekToBe(firstDayOfWeek: string): Promise<PersonalSettingsPage>;
|
|
1066
|
+
save(): Promise<PersonalSettingsPage>;
|
|
1067
|
+
setEmail(email: string): Promise<PersonalSettingsPage>;
|
|
1068
|
+
setFullName(fullName: string): Promise<PersonalSettingsPage>;
|
|
1069
|
+
setPassword(previousPassword: string, password: string): Promise<PersonalSettingsPage>;
|
|
1070
|
+
refresh(): Promise<PersonalSettingsPage>;
|
|
1071
|
+
editUserProfile(email: string): Promise<void>;
|
|
1072
|
+
generateNewAccessToken(tokenName: string, expiryOptions: string): Promise<void>;
|
|
1073
|
+
deleteAccessToken(tokenName: string): Promise<void>;
|
|
1074
|
+
}
|
|
1075
|
+
declare class UserModal extends WithPage {
|
|
1076
|
+
userName: Locator;
|
|
1077
|
+
name: Locator;
|
|
1078
|
+
email: Locator;
|
|
1079
|
+
password: Locator;
|
|
1080
|
+
cnfPassword: Locator;
|
|
1081
|
+
saveButton: Locator;
|
|
1082
|
+
cancelButton: Locator;
|
|
1083
|
+
deleteButton: Locator;
|
|
1084
|
+
constructor(page: Page);
|
|
1085
|
+
setUserName(username: string): Promise<void>;
|
|
1086
|
+
setFullName(fullName: string): Promise<void>;
|
|
1087
|
+
setEmail(email: string): Promise<void>;
|
|
1088
|
+
setPassword(password: string): Promise<void>;
|
|
1089
|
+
setCurrentPassword(password: string): Promise<void>;
|
|
1090
|
+
setConfirmPassword(cnfPassword: string): Promise<void>;
|
|
1091
|
+
save(): Promise<void>;
|
|
1092
|
+
cancel(): Promise<void>;
|
|
1093
|
+
delete(): Promise<void>;
|
|
1094
|
+
expectSaveButtonEnabled(): Promise<void>;
|
|
1095
|
+
expectSaveButtonDisabled(): Promise<void>;
|
|
1096
|
+
expectErrorMessage(errorMsg: string): Promise<void>;
|
|
1097
|
+
expectNewPasswordBoxDisabled(): Promise<this>;
|
|
1098
|
+
expectConfirmPasswordHelperText(text: string): Promise<void>;
|
|
1099
|
+
}
|
|
1100
|
+
declare class UsersPage extends WithPage {
|
|
1101
|
+
page: Page;
|
|
1102
|
+
modal: UserModal;
|
|
1103
|
+
util: Util;
|
|
1104
|
+
constructor(page: Page);
|
|
1105
|
+
openUsersPage(): Promise<void>;
|
|
1106
|
+
toggleLoginPermission(username: string): Promise<void>;
|
|
1107
|
+
addUser(): Promise<UserModal>;
|
|
1108
|
+
createUser(username: string, password: string): Promise<void>;
|
|
1109
|
+
filterUser(username: string): Promise<void>;
|
|
1110
|
+
expectToHaveFilteredUser(username: string): Promise<void>;
|
|
1111
|
+
expectToHaveLoginPermission(username: string): Promise<void>;
|
|
1112
|
+
deleteUser(username: string): Promise<void>;
|
|
1113
|
+
openRoles(): Promise<void>;
|
|
1114
|
+
openPermissions(): Promise<void>;
|
|
1115
|
+
openTaskAccess(): Promise<void>;
|
|
1116
|
+
expectUsers(users: Array<{
|
|
1117
|
+
email?: string;
|
|
1118
|
+
external: boolean;
|
|
1119
|
+
externalId?: string;
|
|
1120
|
+
fullName?: string;
|
|
1121
|
+
name: string;
|
|
1122
|
+
}>): Promise<void>;
|
|
1123
|
+
expectNoUser(username: string): Promise<void>;
|
|
1124
|
+
updateUser(username: string): Promise<UserModal>;
|
|
1125
|
+
sortByColumn(columnName: string, columnIndex: number): Promise<this>;
|
|
1126
|
+
expectColumnVisible(column: string, visible?: boolean): Promise<this>;
|
|
1127
|
+
}
|
|
1128
|
+
declare class WorkflowCatalogPage extends WithPage {
|
|
1129
|
+
constructor(page: Page);
|
|
1130
|
+
installReleaseRunner(headingName: string): Promise<void>;
|
|
1131
|
+
abortInstallation(): Promise<void>;
|
|
1132
|
+
}
|
|
1133
|
+
declare class SettingsMenu extends WithPage {
|
|
1134
|
+
settingsIcon: Locator;
|
|
1135
|
+
configureSystemMessageMenu: Locator;
|
|
1136
|
+
usersAndPermissionMenu: Locator;
|
|
1137
|
+
managePluginMenu: Locator;
|
|
1138
|
+
systemSettingsMenu: Locator;
|
|
1139
|
+
taskManagerMenu: Locator;
|
|
1140
|
+
runnerMenu: Locator;
|
|
1141
|
+
viewSystemInfoMenu: Locator;
|
|
1142
|
+
getDataSupportMenu: Locator;
|
|
1143
|
+
renewLicenseMenu: Locator;
|
|
1144
|
+
aboutMenu: Locator;
|
|
1145
|
+
closeIcon: Locator;
|
|
1146
|
+
installRunnerButton: Locator;
|
|
1147
|
+
workflowCatalogPage: WorkflowCatalogPage;
|
|
1148
|
+
constructor(page: Page);
|
|
1149
|
+
openUsersAndPermissions(): Promise<void>;
|
|
1150
|
+
openManagePlugin(): Promise<void>;
|
|
1151
|
+
openSystemSettings(): Promise<void>;
|
|
1152
|
+
openRunner(): Promise<void>;
|
|
1153
|
+
openConfigureSystemMessage(): Promise<void>;
|
|
1154
|
+
closeConfigureSystemMessage(): Promise<void>;
|
|
1155
|
+
configureSystemMessage(message: string): Promise<void>;
|
|
1156
|
+
disableSystemMessage(): Promise<void>;
|
|
1157
|
+
openTaskManager(): Promise<void>;
|
|
1158
|
+
openViewSystemInformation(): Promise<void>;
|
|
1159
|
+
openGetDataForSupport(): Promise<void>;
|
|
1160
|
+
downloadSupportData(): Promise<void>;
|
|
1161
|
+
openRenewLicense(): Promise<void>;
|
|
1162
|
+
getVersionNumber(): Promise<string>;
|
|
1163
|
+
openAbout(): Promise<Modal>;
|
|
1164
|
+
}
|
|
1165
|
+
declare class Modal {
|
|
1166
|
+
modalBody: Locator;
|
|
1167
|
+
closeIcon: Locator;
|
|
1168
|
+
constructor(page: Page);
|
|
1169
|
+
closeModal(): Promise<void>;
|
|
1170
|
+
validateLicenseInfo(): Promise<void>;
|
|
1171
|
+
}
|
|
1172
|
+
declare class TaskDetails extends WithPage {
|
|
1173
|
+
constructor(page: Page);
|
|
1174
|
+
}
|
|
1175
|
+
declare class ReleaseCalendarPage extends ReleasesHeaderPage {
|
|
1176
|
+
openReleaseCalendarPage(): Promise<this>;
|
|
1177
|
+
exportCalendar(): Promise<void>;
|
|
1178
|
+
cancelCalendarExport(): Promise<number>;
|
|
1179
|
+
verifyDayView(): Promise<void>;
|
|
1180
|
+
verifyYearView(): Promise<void>;
|
|
1181
|
+
verifyMonthView(): Promise<void>;
|
|
1182
|
+
verifyPageContent(title: string): Promise<void>;
|
|
1183
|
+
viewRelease(release_title: string, release_id: string): Promise<void>;
|
|
1184
|
+
viewDependency(source_release: string, dest_release: string): Promise<void>;
|
|
1185
|
+
downloadIcsCalendar(release_title: string): Promise<number>;
|
|
1186
|
+
openBlackoutPeriod(date: string): Promise<BlackoutPeriod>;
|
|
1187
|
+
}
|
|
1188
|
+
declare class BlackoutPeriod extends WithPage {
|
|
1189
|
+
dateField: string;
|
|
1190
|
+
constructor(date: string, page: Page);
|
|
1191
|
+
edit(): Promise<this>;
|
|
1192
|
+
delete(): Promise<this>;
|
|
1193
|
+
findBlackout(): Promise<void>;
|
|
1194
|
+
setEndDate(date: Date): Promise<this>;
|
|
1195
|
+
save(): Promise<this>;
|
|
1196
|
+
}
|
|
1197
|
+
declare class ReleaseGroupPage extends WithPage {
|
|
1198
|
+
setStatus(status: string): Promise<void>;
|
|
1199
|
+
openReleaseGroup(title: string): Promise<void>;
|
|
1200
|
+
expectReleaseGroupStatus(status: string): Promise<void>;
|
|
1201
|
+
expectReleaseGroupDisplayed(title: string): Promise<void>;
|
|
1202
|
+
expectReleaseGroupNotDisplayed(title: string): Promise<void>;
|
|
1203
|
+
searchReleaseGroupByTitle(title: string): Promise<void>;
|
|
1204
|
+
deleteReleaseGroup(title: string): Promise<void>;
|
|
1205
|
+
clickReleaseGroupEdit(title: string): Promise<void>;
|
|
1206
|
+
enterReleaseGroupDetails(new_title: string): Promise<void>;
|
|
1207
|
+
clickSaveButton(): Promise<void>;
|
|
1208
|
+
clickCancelButton(): Promise<void>;
|
|
1209
|
+
}
|
|
1210
|
+
declare class ReleaseGroupTimelinePage extends WithPage {
|
|
1211
|
+
expectReleaseDisplayed(title: string): Promise<void>;
|
|
1212
|
+
expectReleaseNotDisplayed(title: string): Promise<void>;
|
|
1213
|
+
expectPhaseDisplayed(title: string): Promise<void>;
|
|
1214
|
+
openContextMenu(title: string): Promise<void>;
|
|
1215
|
+
removeFromReleaseGroup(): Promise<void>;
|
|
1216
|
+
expectNumberOfReleases(num_of_release: number): Promise<void>;
|
|
1217
|
+
openAddReleaseList(): Promise<void>;
|
|
1218
|
+
filterReleases(title: string): Promise<void>;
|
|
1219
|
+
expectNumberOfReleasesOnModal(num_of_release: number): Promise<void>;
|
|
1220
|
+
selectAllReleaseCheckbox(): Promise<void>;
|
|
1221
|
+
addReleasesToGroup(): Promise<void>;
|
|
1222
|
+
}
|
|
1223
|
+
declare class ReleaseVariablesPage extends WithPage {
|
|
1224
|
+
addListValue: Locator;
|
|
1225
|
+
addVariableValue: Locator;
|
|
1226
|
+
listAddButton: Locator;
|
|
1227
|
+
dateUtil: DateUtil;
|
|
1228
|
+
constructor(page: Page);
|
|
1229
|
+
openVariable(variableKey: string): Promise<ReleaseVariableModal>;
|
|
1230
|
+
addNewVariable(variableName: string, labelname: string, description?: string): Promise<void>;
|
|
1231
|
+
selectVariableTextType(valuename: string): Promise<void>;
|
|
1232
|
+
selectVariableListboxType(possiblevalue: Array<string> | string, defaultValue: string, required?: boolean): Promise<void>;
|
|
1233
|
+
selectVariablePasswordType(possiblevalue: string): Promise<void>;
|
|
1234
|
+
selectVariableCheckboxType(): Promise<void>;
|
|
1235
|
+
selectVariableNumberType(possiblevalue: string): Promise<void>;
|
|
1236
|
+
selectVariableMultiListType(possiblevalue1: string, possiblevalue2: string): Promise<void>;
|
|
1237
|
+
addVariableDate(): Promise<void>;
|
|
1238
|
+
setDate(date?: string, monthYear?: string): Promise<void>;
|
|
1239
|
+
addVariableKeyValueMap(keys1: string, values1: string): Promise<void>;
|
|
1240
|
+
addVariableSet(possiblevalue1: string): Promise<void>;
|
|
1241
|
+
submitTheVariable(): Promise<void>;
|
|
1242
|
+
expectVariableWithNameValueAndType(name: string, value: string, type: string): Promise<void>;
|
|
1243
|
+
clickEditVariable(variableName: string): Promise<ReleaseVariableModal>;
|
|
1244
|
+
clickDeleteVariable(variableName: string): Promise<_DeleteVariableModel1>;
|
|
1245
|
+
expectVariablesCountToBe(count: number): Promise<void>;
|
|
1246
|
+
expectVariableNotPresent(variableName: string): Promise<void>;
|
|
1247
|
+
clearSearch(): Promise<void>;
|
|
1248
|
+
switchPossibleValuesToVariable(variableName: string): Promise<void>;
|
|
1249
|
+
selectVariableListboxTypeWithVariable(variableName: string, defaultValue: string, required?: boolean): Promise<void>;
|
|
1250
|
+
}
|
|
1251
|
+
declare class ReleaseVariableModal extends WithPage {
|
|
1252
|
+
dateUtil: DateUtil;
|
|
1253
|
+
constructor(page: Page);
|
|
1254
|
+
expectValueToBe(value: string): Promise<void>;
|
|
1255
|
+
expectValueToContain(value: string): Promise<void>;
|
|
1256
|
+
close(): Promise<void>;
|
|
1257
|
+
expectPossibleValues(possiblevalue: Array<string> | string): Promise<void>;
|
|
1258
|
+
expectPossibleVariableValues(possiblevariablevalue: string): Promise<void>;
|
|
1259
|
+
addPossibleValue(value: Array<string> | string): Promise<void>;
|
|
1260
|
+
selectVariableValue(defaultValue: string): Promise<void>;
|
|
1261
|
+
save(): Promise<void>;
|
|
1262
|
+
createPossibleValuesVariable(variableName: string): Promise<void>;
|
|
1263
|
+
expectVariableValueToBe(value: string): Promise<void>;
|
|
1264
|
+
expectNoVariablesInList(): Promise<void>;
|
|
1265
|
+
expectNameInput(value: string): Promise<void>;
|
|
1266
|
+
expectLabel(value: string): Promise<void>;
|
|
1267
|
+
expectRequired(value: boolean): Promise<void>;
|
|
1268
|
+
setDescription(description: string): Promise<void>;
|
|
1269
|
+
setLabel(labelValue: string): Promise<void>;
|
|
1270
|
+
setDate(date: string, monthYear: string): Promise<void>;
|
|
1271
|
+
setValue(value: string): Promise<void>;
|
|
1272
|
+
}
|
|
1273
|
+
declare class _DeleteVariableModel1 extends WithPage {
|
|
1274
|
+
model: ReleaseVariableModal;
|
|
1275
|
+
dateUtil: DateUtil;
|
|
1276
|
+
constructor(page: Page);
|
|
1277
|
+
deleteVariable(): Promise<void>;
|
|
1278
|
+
replaceItWithVariable(variable: string): Promise<void>;
|
|
1279
|
+
replaceItwithValue(value: string): Promise<void>;
|
|
1280
|
+
clickReplaceAndDelete(): Promise<void>;
|
|
1281
|
+
addValue(value: string): Promise<void>;
|
|
1282
|
+
remove(value: string): Promise<void>;
|
|
1283
|
+
expectReplacementPromptDisplayed(): Promise<void>;
|
|
1284
|
+
close(): Promise<void>;
|
|
1285
|
+
removeItemOnSet(value: string): Promise<void>;
|
|
1286
|
+
addValueForSet(key: string, value: string): Promise<void>;
|
|
1287
|
+
replaceWithIntegerValue(value: string): Promise<void>;
|
|
1288
|
+
replaceForBooleanValue(): Promise<void>;
|
|
1289
|
+
deleteBySettingDate(date: string, monthYear: string): Promise<void>;
|
|
1290
|
+
}
|
|
1291
|
+
declare class TaskListPage extends WithPage {
|
|
1292
|
+
commentBox: Locator;
|
|
1293
|
+
gridView: GridView;
|
|
1294
|
+
taskDrawer: TaskDrawer;
|
|
1295
|
+
constructor(page: Page);
|
|
1296
|
+
openTask(taskName: string): Promise<void>;
|
|
1297
|
+
complete(taskName: string, comment: string): Promise<void>;
|
|
1298
|
+
skip(taskName: string, comment: string): Promise<void>;
|
|
1299
|
+
fail(taskName: string, comment: string): Promise<void>;
|
|
1300
|
+
waitForTaskFailed(taskName: string): Promise<void>;
|
|
1301
|
+
waitForTaskInProgress(taskName: string): Promise<void>;
|
|
1302
|
+
openTaskInReleaseView(taskName: string): Promise<void>;
|
|
1303
|
+
openCalendarViaTaskDueDate(taskName: string): Promise<void>;
|
|
1304
|
+
openTaskDrawer(taskName: string): Promise<void>;
|
|
1305
|
+
filterTaskByTitle(taskname: string): Promise<void>;
|
|
1306
|
+
filterTasksByTag(tag: string, taskTitleForValidation: string): Promise<void>;
|
|
1307
|
+
filterTasksByReleaseTitle(releaseTitle: string): Promise<void>;
|
|
1308
|
+
openSingleTask(taskId: string, showDetails?: boolean): Promise<void>;
|
|
1309
|
+
expectReleaseLinksDisplayed(releaseTitle: string, displayed?: boolean): Promise<void>;
|
|
1310
|
+
openTaskList(): Promise<void>;
|
|
1311
|
+
clickOnAssigneeButton(title: string): Promise<void>;
|
|
1312
|
+
clickOnAssignedToMe(): Promise<void>;
|
|
1313
|
+
clickOnAssignedToMyTeams(): Promise<void>;
|
|
1314
|
+
clickOnAssignedToAllAvailable(): Promise<void>;
|
|
1315
|
+
expectTaskToNotBeDisplayed(taskTitle: string): Promise<void>;
|
|
1316
|
+
expectTaskToBeDisplayed(taskTitle: string): Promise<void>;
|
|
1317
|
+
expectTasksToBeDisplayed(tasks: {
|
|
1318
|
+
[key: string]: boolean;
|
|
1319
|
+
}): Promise<void>;
|
|
1320
|
+
expectTasksDisplayedInOrder(expectedTasks: {
|
|
1321
|
+
releaseTitle: string;
|
|
1322
|
+
taskPosition: number;
|
|
1323
|
+
taskTitle: string;
|
|
1324
|
+
}[]): Promise<void>;
|
|
1325
|
+
setOrderBy(orderBy: string): Promise<void>;
|
|
1326
|
+
expectTaskCountForRelease(releaseTitle: string, expectedCount: number): Promise<void>;
|
|
1327
|
+
setSearchFilter(filterText: string): Promise<void>;
|
|
1328
|
+
clearSearchFilter(): Promise<void>;
|
|
1329
|
+
setTagsFilter(filterText: string): Promise<void>;
|
|
1330
|
+
clickOnStatusField(): Promise<void>;
|
|
1331
|
+
clickOnStatus(statusNames: string[]): Promise<void>;
|
|
1332
|
+
clickOnStatusClearAll(): Promise<void>;
|
|
1333
|
+
clickOnStatusSelectAll(): Promise<void>;
|
|
1334
|
+
assignTaskToMe(title: string): Promise<void>;
|
|
1335
|
+
expectTaskAssignedToMe(title: string): Promise<void>;
|
|
1336
|
+
expectTaskAssignedTo(title: string, user: string): Promise<void>;
|
|
1337
|
+
expectTaskTitle(taskTitle: string): Promise<void>;
|
|
1338
|
+
clickOnTasksLabel(): Promise<void>;
|
|
1339
|
+
expectGroupView(expected?: boolean): Promise<void>;
|
|
1340
|
+
changeGroupView(): Promise<void>;
|
|
1341
|
+
enableGroupByReleaseView(): Promise<void>;
|
|
1342
|
+
disableGroupByReleaseView(): Promise<void>;
|
|
1343
|
+
switchToGridView(): Promise<GridView>;
|
|
1344
|
+
}
|
|
1345
|
+
declare class GridView extends WithPage {
|
|
1346
|
+
taskDrawer: TaskDrawer;
|
|
1347
|
+
constructor(page: Page);
|
|
1348
|
+
expectTaskCountInGridView(count: number): Promise<void>;
|
|
1349
|
+
expectTaskDetailsInGridView(taskId: string, taskStatus: string, taskTitle: string, assignedTo?: string, release?: string, phase?: string, startDate?: string): Promise<this>;
|
|
1350
|
+
openTaskDrawerFromGridView(taskId: string, taskTitle: string): Promise<TaskDrawer>;
|
|
1351
|
+
openContextualMenu(taskId: string): Promise<void>;
|
|
1352
|
+
expectContextMenuHas(taskId: string, enabled: Array<string>, disabled: Array<string>): Promise<this>;
|
|
1353
|
+
waitForTaskNotDisplayed(taskId: string): Promise<this>;
|
|
1354
|
+
triggerContextMenuAction(action: string): Promise<this>;
|
|
1355
|
+
}
|
|
1356
|
+
declare class TemplatePropertiesPage extends WithPage {
|
|
1357
|
+
dateUtil: DateUtil;
|
|
1358
|
+
scheduledStartDate: Locator;
|
|
1359
|
+
constructor(page: Page);
|
|
1360
|
+
getAttachmentsListCount(): Promise<number>;
|
|
1361
|
+
uploadFile(filePath: string): Promise<void>;
|
|
1362
|
+
expectWithAttachment(filename: string): Promise<void>;
|
|
1363
|
+
expectWithNoAttachment(filename: string): Promise<void>;
|
|
1364
|
+
downloadFile(filename: string): Promise<void>;
|
|
1365
|
+
deleteAttachment(fileName: string): Promise<void>;
|
|
1366
|
+
save(): Promise<void>;
|
|
1367
|
+
reset(): Promise<void>;
|
|
1368
|
+
removeDueDate(): Promise<void>;
|
|
1369
|
+
setScheduledStartDate(date: string, monthYear: string): Promise<void>;
|
|
1370
|
+
setDuration(days?: string, hours?: string, mins?: string): Promise<void>;
|
|
1371
|
+
expectScheduledStartDateToBe(date: string): Promise<void>;
|
|
1372
|
+
expectDueDateToBe(date: string): Promise<void>;
|
|
1373
|
+
expectedDueDateTime(time: string): Promise<void>;
|
|
1374
|
+
expectDurationToBe(duration: string): Promise<void>;
|
|
1375
|
+
setUsername(username: string): Promise<void>;
|
|
1376
|
+
setPassword(password: string): Promise<void>;
|
|
1377
|
+
expectScriptUsernameToBe(username: string): Promise<void>;
|
|
1378
|
+
expectScriptUserPasswordToBe(password: string): Promise<void>;
|
|
1379
|
+
}
|
|
1380
|
+
declare class TemplateCreatePage extends WithPage {
|
|
1381
|
+
constructor(page: Page);
|
|
1382
|
+
setName(name: string): Promise<void>;
|
|
1383
|
+
setDescription(description: string): Promise<void>;
|
|
1384
|
+
create(): Promise<void>;
|
|
1385
|
+
}
|
|
1386
|
+
declare class TemplateTriggerPage extends WithPage {
|
|
1387
|
+
create: CreateNewTriggerPage;
|
|
1388
|
+
constructor(page: Page);
|
|
1389
|
+
expectAllowConcurrentReleasesFromTrigger(expectedValue: boolean): Promise<void>;
|
|
1390
|
+
setAllowConcurrentReleasesFromTriggerAndSubmit(checked: boolean): Promise<void>;
|
|
1391
|
+
expectTriggersVisible(amount: number): Promise<void>;
|
|
1392
|
+
expectNoNewTriggerButtonShown(): Promise<void>;
|
|
1393
|
+
clickAddTrigger(): Promise<CreateNewTriggerPage>;
|
|
1394
|
+
openContextualMenuForTrigger(triggerName: string): Promise<this>;
|
|
1395
|
+
selectContextualMenuItem(triggerName: string, menuItem: string): Promise<this>;
|
|
1396
|
+
}
|
|
1397
|
+
declare class CreateNewTriggerPage extends WithPage {
|
|
1398
|
+
constructor(page: Page);
|
|
1399
|
+
setTriggerTitle(title: string): Promise<void>;
|
|
1400
|
+
setTriggerType(triggerType: string): Promise<void>;
|
|
1401
|
+
setFieldInput(field: string, value: string): Promise<void>;
|
|
1402
|
+
setValuesForVariable(variableId: string, value: string): Promise<this>;
|
|
1403
|
+
save(): Promise<void>;
|
|
1404
|
+
}
|
|
1405
|
+
declare class TemplateVariablesPage extends WithPage {
|
|
1406
|
+
constructor(page: Page);
|
|
1407
|
+
clickEditVariable(variableName: string): Promise<TemplateVariableModal>;
|
|
1408
|
+
}
|
|
1409
|
+
declare class TemplateVariableModal extends WithPage {
|
|
1410
|
+
setLabel(label: string): Promise<void>;
|
|
1411
|
+
setDefalutValue(value: string): Promise<void>;
|
|
1412
|
+
save(): Promise<void>;
|
|
1413
|
+
}
|
|
1414
|
+
declare class TemplatePage extends WithPage {
|
|
1415
|
+
taskDrawer: TaskDrawer;
|
|
1416
|
+
phaseTitle: Locator;
|
|
1417
|
+
properties: TemplatePropertiesPage;
|
|
1418
|
+
createTemplatePage: TemplateCreatePage;
|
|
1419
|
+
triggers: TemplateTriggerPage;
|
|
1420
|
+
util: Util;
|
|
1421
|
+
variables: TemplateVariablesPage;
|
|
1422
|
+
plannerView: ReleaseGanttPage;
|
|
1423
|
+
constructor(page: Page);
|
|
1424
|
+
openTaskDrawer(taskName: string): Promise<TaskDrawer>;
|
|
1425
|
+
openTaskDrawerFromTableView(taskName: string): Promise<TaskDrawer>;
|
|
1426
|
+
openTaskDrawerFromGrantt(taskName: string): Promise<TaskDrawer>;
|
|
1427
|
+
openProperties(): Promise<void>;
|
|
1428
|
+
openVariables(): Promise<void>;
|
|
1429
|
+
openRelationships(): Promise<void>;
|
|
1430
|
+
openTeamsPermissions(): Promise<void>;
|
|
1431
|
+
openDashboard(): Promise<void>;
|
|
1432
|
+
openHistory(): Promise<void>;
|
|
1433
|
+
openTriggers(): Promise<void>;
|
|
1434
|
+
backToTemplate(): Promise<void>;
|
|
1435
|
+
expectTemplateLabelToBePresent(): Promise<void>;
|
|
1436
|
+
expectSubPage(menuItem: string, toBePresent: boolean): Promise<void>;
|
|
1437
|
+
openFlowView(): Promise<void>;
|
|
1438
|
+
openTableView(): Promise<void>;
|
|
1439
|
+
openPlannerView(): Promise<ReleaseGanttPage>;
|
|
1440
|
+
openCodeView(): Promise<void>;
|
|
1441
|
+
expandGanttFolder(): Promise<void>;
|
|
1442
|
+
addNewPhase(phaseName?: string): Promise<void>;
|
|
1443
|
+
renamePhase(oldPhaseName: string, newPhaseName: string): Promise<void>;
|
|
1444
|
+
clickNewRelease(): Promise<void>;
|
|
1445
|
+
getPhase(phaseName: string): _Phase1;
|
|
1446
|
+
}
|
|
1447
|
+
declare class _Phase1 extends WithPage {
|
|
1448
|
+
constructor(page: Page, phaseName: string);
|
|
1449
|
+
setTitle(title: string): Promise<void>;
|
|
1450
|
+
expectTaskBorderWithColor(taskName: string, color: string): Promise<void>;
|
|
1451
|
+
/**
|
|
1452
|
+
*
|
|
1453
|
+
* @param taskTitle Title of the task
|
|
1454
|
+
* @param taskType : Type of the task
|
|
1455
|
+
* @param taskTypeSelector : Selector of the task
|
|
1456
|
+
*/
|
|
1457
|
+
addTaskInPhase(taskTitle: string, taskGroup: string, taskType: string): Promise<void>;
|
|
1458
|
+
getNumberOfTasks(): Promise<number>;
|
|
1459
|
+
expectToHaveNoneditableTitle(phaseTitle: string): Promise<void>;
|
|
1460
|
+
expectToHaveTitle(phaseTitle: string): Promise<void>;
|
|
1461
|
+
deleteTaskInPhase(taskName: string): Promise<void>;
|
|
1462
|
+
deletePhase(phaseName: string): Promise<void>;
|
|
1463
|
+
}
|
|
1464
|
+
declare class TemplateListPage extends WithPage {
|
|
1465
|
+
templatePage: TemplatePage;
|
|
1466
|
+
constructor(page: Page);
|
|
1467
|
+
openTemplatesList(filter: string): Promise<void>;
|
|
1468
|
+
searchBy(criteria: string): Promise<void>;
|
|
1469
|
+
copy(originTitle: string, targetTitle: string): Promise<void>;
|
|
1470
|
+
move(templateName: string, targetFolder: string): Promise<void>;
|
|
1471
|
+
metaInformation(templateName: string, validationMsg?: string): Promise<void>;
|
|
1472
|
+
expectTemplateVisible(title: string, expected?: boolean): Promise<void>;
|
|
1473
|
+
delete(title: string): Promise<void>;
|
|
1474
|
+
clickCreateNewTemplate(): Promise<void>;
|
|
1475
|
+
openTemplateByName(templateName: string): Promise<void>;
|
|
1476
|
+
clickNewReleaseIcon(templateName: string): Promise<void>;
|
|
1477
|
+
createTemplate(templateName: string, description: string): Promise<void>;
|
|
1478
|
+
filterByTitle(templateName: string): Promise<void>;
|
|
1479
|
+
}
|
|
1480
|
+
declare class RolesModal extends WithPage {
|
|
1481
|
+
roleName: Locator;
|
|
1482
|
+
newRoleName: Locator;
|
|
1483
|
+
addPrincipal: Locator;
|
|
1484
|
+
saveButton: Locator;
|
|
1485
|
+
editIcon: Locator;
|
|
1486
|
+
deleteButton: Locator;
|
|
1487
|
+
searchRoles: Locator;
|
|
1488
|
+
constructor(page: Page);
|
|
1489
|
+
setRoleName(roleName: string): Promise<void>;
|
|
1490
|
+
editRoleName(newRoleName: string): Promise<void>;
|
|
1491
|
+
setPrincipal(addPrincipal: string): Promise<void>;
|
|
1492
|
+
searchRoleByRoleName(searchRoles: string): Promise<void>;
|
|
1493
|
+
save(): Promise<void>;
|
|
1494
|
+
delete(): Promise<void>;
|
|
1495
|
+
}
|
|
1496
|
+
declare class RolesPage extends WithPage {
|
|
1497
|
+
page: Page;
|
|
1498
|
+
newRoleButton: Locator;
|
|
1499
|
+
modal: RolesModal;
|
|
1500
|
+
constructor(page: Page);
|
|
1501
|
+
createRole(roleName: string, addPrincipal: string): Promise<void>;
|
|
1502
|
+
editRole(roleName: string, newRoleName: string): Promise<void>;
|
|
1503
|
+
searchRoleByRoleName(searchRoles: string): Promise<void>;
|
|
1504
|
+
searchRoleByAssignedUsername(searchRolesByUsername: string): Promise<void>;
|
|
1505
|
+
deleteRole(roleName: string): Promise<void>;
|
|
1506
|
+
expectToViewRolesPage(): Promise<void>;
|
|
1507
|
+
expectToViewCreatedRole(roleName: string): Promise<void>;
|
|
1508
|
+
expectToViewEditedRole(roleName: string): Promise<void>;
|
|
1509
|
+
expectRoleToBeDeleted(roleName: string): Promise<void>;
|
|
1510
|
+
expectToViewSearchedRole(roleName: string): Promise<void>;
|
|
1511
|
+
expectToViewSearchedRoleByUsername(userName: string): Promise<void>;
|
|
1512
|
+
}
|
|
1513
|
+
declare class RisksPage extends WithPage {
|
|
1514
|
+
constructor(page: Page);
|
|
1515
|
+
getValue(classIdentifier: string): Promise<string>;
|
|
1516
|
+
setPointerValue(elem: Locator, value: number, isIncrease: boolean): Promise<void>;
|
|
1517
|
+
setValue(identifier: string, newValue: number): Promise<void>;
|
|
1518
|
+
checkValue(identifier: string, value: number): Promise<void>;
|
|
1519
|
+
shouldHaveEditButton(present?: boolean): Promise<void>;
|
|
1520
|
+
shouldHaveSaveButton(present?: boolean): Promise<void>;
|
|
1521
|
+
startEditGlobalRiskThreshold(): Promise<void>;
|
|
1522
|
+
setInitialValues(): Promise<void>;
|
|
1523
|
+
changeValuesAndSave(minValue: number, maxValue: number): Promise<void>;
|
|
1524
|
+
checkValuesChanged(minValue: number, maxValue: number): Promise<void>;
|
|
1525
|
+
expectRiskProfileToBePresent(title: string, present?: boolean): Promise<void>;
|
|
1526
|
+
expectDefaultRiskProfileToBeFirst(): Promise<void>;
|
|
1527
|
+
openRiskProfile(title: string): Promise<RisksProfilePage>;
|
|
1528
|
+
shouldHaveCopyButtonEnabledForRiskProfile(title: string, enabled?: boolean): Promise<void>;
|
|
1529
|
+
shouldHaveDeleteButtonEnabledForRiskProfile(title: string, enabled?: boolean): Promise<void>;
|
|
1530
|
+
clickNewRiskProfile(): Promise<RisksProfilePage>;
|
|
1531
|
+
deleteRiskProfile(title: string): Promise<void>;
|
|
1532
|
+
expectSuccessMessageOnRisksPage(): Promise<void>;
|
|
1533
|
+
copyRiskProfile(title: string): Promise<void>;
|
|
1534
|
+
expectSuccessMessageOnUpdateRiskProfile(): Promise<void>;
|
|
1535
|
+
filter(filterText: string): Promise<void>;
|
|
1536
|
+
shouldHaveNVisibleRiskProfiles(numberOfVisibleRiskProfiles: number): Promise<void>;
|
|
1537
|
+
shouldHaveNewRiskProfileButton(present?: boolean): Promise<void>;
|
|
1538
|
+
closeNotificationBanner(): Promise<void>;
|
|
1539
|
+
}
|
|
1540
|
+
declare class RisksProfilePage extends WithPage {
|
|
1541
|
+
shouldBeEditable(editable: boolean): Promise<void>;
|
|
1542
|
+
setName(name: string): Promise<void>;
|
|
1543
|
+
save(): Promise<void>;
|
|
1544
|
+
}
|
|
1545
|
+
declare class advancedSettingsPage extends WithPage {
|
|
1546
|
+
constructor(page: Page);
|
|
1547
|
+
}
|
|
1548
|
+
declare class experimentalSettingsPage extends WithPage {
|
|
1549
|
+
settings: SystemSettingsPage;
|
|
1550
|
+
constructor(page: Page);
|
|
1551
|
+
getFeatureControl(feature: string, control: string): Promise<Locator>;
|
|
1552
|
+
expectFeatureToBeEnabled(feature: string, state: boolean, control: string): Promise<this>;
|
|
1553
|
+
expectSaveToBeEnabled(state: boolean): Promise<this>;
|
|
1554
|
+
expectResetToBeEnabled(state: boolean): Promise<this>;
|
|
1555
|
+
disableFeature(feature: string, control: string): Promise<this>;
|
|
1556
|
+
expectToBeSaved(): Promise<this>;
|
|
1557
|
+
}
|
|
1558
|
+
declare class TaskSettingsPage extends WithPage {
|
|
1559
|
+
settings: SystemSettingsPage;
|
|
1560
|
+
constructor(page: Page);
|
|
1561
|
+
setStatusPollingInterval(value: string): Promise<this>;
|
|
1562
|
+
setListPollingInterval(value: string): Promise<this>;
|
|
1563
|
+
expectStatusPollingInterval(value: string): Promise<this>;
|
|
1564
|
+
expectListPollingInterval(value: string): Promise<this>;
|
|
1565
|
+
restoreDefaultPollingSettings(): Promise<this>;
|
|
1566
|
+
}
|
|
1567
|
+
declare class ReportsSettingsPage extends WithPage {
|
|
1568
|
+
settings: SystemSettingsPage;
|
|
1569
|
+
constructor(page: Page);
|
|
1570
|
+
setWarningThreshold(value: string): Promise<this>;
|
|
1571
|
+
setErrorThreshold(value: string): Promise<this>;
|
|
1572
|
+
setCriticalPhaseThreshold(value: string): Promise<this>;
|
|
1573
|
+
expectWarningThreshold(value: string): Promise<this>;
|
|
1574
|
+
expectErrorThreshold(value: string): Promise<this>;
|
|
1575
|
+
expectCriticalPhaseThreshold(value: string): Promise<this>;
|
|
1576
|
+
restoreDefaultReportSettings(): Promise<void>;
|
|
1577
|
+
}
|
|
1578
|
+
declare class ReleaseAndTriggersPage extends WithPage {
|
|
1579
|
+
settings: SystemSettingsPage;
|
|
1580
|
+
constructor(page: Page);
|
|
1581
|
+
setArchivingSettingsDeleteIntervalUnit(value: string): Promise<this>;
|
|
1582
|
+
expectArchivePurgeEnableState(value: boolean): Promise<this>;
|
|
1583
|
+
setArchivePurgeEnableState(value: boolean): Promise<this>;
|
|
1584
|
+
expectConfirmEnableArchivePurgeModal(): Promise<this>;
|
|
1585
|
+
confirmEnableArchivePurgeModal(): Promise<this>;
|
|
1586
|
+
cancelEnableArchivePurgeModal(): Promise<this>;
|
|
1587
|
+
setMaxArchiveRetentionPeriodIntervalUnit(value: string): Promise<this>;
|
|
1588
|
+
setMaxArchiveRetentionPeriodInterval(value: string): Promise<this>;
|
|
1589
|
+
expectInputFieldToBeDisabled(fieldName: string): Promise<this>;
|
|
1590
|
+
}
|
|
1591
|
+
declare class NotificationPage extends WithPage {
|
|
1592
|
+
constructor(page: Page);
|
|
1593
|
+
getTasksTableElement(): Promise<Locator>;
|
|
1594
|
+
getTasksTableRows(): Promise<Locator>;
|
|
1595
|
+
getEventElement(eventName: string): Promise<Locator>;
|
|
1596
|
+
getEventRowElement(eventName: string): Promise<Locator>;
|
|
1597
|
+
findAddTagInputElementOnRow(eventRowElement: Locator): Promise<Locator>;
|
|
1598
|
+
getTasksEventIdSearchInput(): Promise<Locator>;
|
|
1599
|
+
getSuggestedRoleElement(roleName: string): Promise<Locator>;
|
|
1600
|
+
getRoleElementFromEvent(eventName: string, roleName: string): Promise<Locator>;
|
|
1601
|
+
getCloseTagElements(): Promise<Locator>;
|
|
1602
|
+
getEditMessageElements(): Promise<Locator>;
|
|
1603
|
+
findEditMessageLinkElementOnRow(eventRowElement: Locator): Promise<Locator>;
|
|
1604
|
+
typeRoleTagNameInEventInput(eventName: string, roleName: string): Promise<this>;
|
|
1605
|
+
clearRoleTagNameInEventInput(eventName: string): Promise<this>;
|
|
1606
|
+
filterTaskTableByEventId(filterText: string): Promise<this>;
|
|
1607
|
+
expectSuggestedRoleToBeVisible(roleName: string, shouldBeVisible?: boolean): Promise<this>;
|
|
1608
|
+
expectRoleTagToBePresentOnEvent(eventName: string, roleName: string, shouldBePresent?: boolean): Promise<this>;
|
|
1609
|
+
expectTaskEventTableToHaveNumberOfRows(numberOfRows: number): Promise<this>;
|
|
1610
|
+
expectTablesToBeInReadOnlyMode(shouldBeReadOnly?: boolean): Promise<this>;
|
|
1611
|
+
removeRoleTagFromEvent(eventName: string, roleName: string): Promise<this>;
|
|
1612
|
+
toConstantFormat(input: string): Promise<string>;
|
|
1613
|
+
}
|
|
1614
|
+
declare class NotificationModalPage extends NotificationPage {
|
|
1615
|
+
constructor(page: Page);
|
|
1616
|
+
findBodySaveElement(): Promise<Locator>;
|
|
1617
|
+
findBodyCloseElement(): Promise<Locator>;
|
|
1618
|
+
expectBodyTextareaControlsToExist(shouldExist?: boolean): Promise<this>;
|
|
1619
|
+
getPriorityDropdownElement(): Promise<Locator>;
|
|
1620
|
+
getPriorityDropdownItemElement(priority: string): Promise<Locator>;
|
|
1621
|
+
getModalCancelButtonElement(): Promise<Locator>;
|
|
1622
|
+
getModalSaveButtonElement(): Promise<Locator>;
|
|
1623
|
+
setPriority(priority: string): Promise<this>;
|
|
1624
|
+
expectModalSaveButtonToBeEnabled(shouldBeEnabled?: boolean): Promise<this>;
|
|
1625
|
+
expectModalCancelButtonToBeEnabled(shouldBeEnabled?: boolean): Promise<this>;
|
|
1626
|
+
hasPriority(priority: string): Promise<this>;
|
|
1627
|
+
setSubject(subject: string): Promise<this>;
|
|
1628
|
+
hasSubject(subject: string): Promise<this>;
|
|
1629
|
+
writeIntoBodyTextarea(bodyText: string): Promise<this>;
|
|
1630
|
+
saveTextInsideOfBodyTextarea(): Promise<this>;
|
|
1631
|
+
setBody(body: string): Promise<this>;
|
|
1632
|
+
hasBody(body: string): Promise<this>;
|
|
1633
|
+
save(): Promise<this>;
|
|
1634
|
+
cancel(): Promise<this>;
|
|
1635
|
+
confirmLeave(): Promise<this>;
|
|
1636
|
+
expectNotificationSettingsModalToBeVisible(shouldBeVisible?: boolean): Promise<this>;
|
|
1637
|
+
expectModalControlButtonsToBeEnabled(shouldBeEnabled?: boolean): Promise<this>;
|
|
1638
|
+
changeEmailDataWithAssertion(priority: string, subject: string, body: string): Promise<this>;
|
|
1639
|
+
changeEmailDataSaveChangesAndAssert(priority: string, subject: string, body: string): Promise<this>;
|
|
1640
|
+
changeEmailDataCancelChangesAndAssert(priority: string, subject: string, body: string): Promise<this>;
|
|
1641
|
+
expectLeaveConfirmationModalToBeVisible(shouldBeVisible?: boolean): Promise<this>;
|
|
1642
|
+
openModalAndExpectData(priority: string, subject: string, body: string): Promise<this>;
|
|
1643
|
+
}
|
|
1644
|
+
declare class NotificationSettingsPage extends NotificationPage {
|
|
1645
|
+
constructor(page: Page);
|
|
1646
|
+
getResetButtonElement(): Promise<Locator>;
|
|
1647
|
+
getSaveButtonElement(): Promise<Locator>;
|
|
1648
|
+
getSuggestionTag(): Promise<Locator>;
|
|
1649
|
+
getSuggestedRoleElement(roleName: string): Promise<Locator>;
|
|
1650
|
+
selectSuggestedRole(roleName: string): Promise<this>;
|
|
1651
|
+
getEventElement(eventName: string): Promise<Locator>;
|
|
1652
|
+
getEventRowElement(eventName: string): Promise<Locator>;
|
|
1653
|
+
getRoleElementFromEvent(eventName: string, roleName: string): Promise<Locator>;
|
|
1654
|
+
expectResetButtonToBeEnabled(shouldBeEnabled?: boolean): Promise<this>;
|
|
1655
|
+
expectSaveButtonToBeEnabled(shouldBeEnabled?: boolean): Promise<this>;
|
|
1656
|
+
expectTableWithRecipients(tableTitle: string, recipientEnabled: boolean): Promise<this>;
|
|
1657
|
+
typeRoleText(eventId: string, roleText: string): Promise<this>;
|
|
1658
|
+
addRoleToEvent(eventId: string, roleName: string): Promise<this>;
|
|
1659
|
+
removeRoleFromEvent(eventId: string, roleName: string): Promise<this>;
|
|
1660
|
+
expectSuggestionTagToHaveText(expectedText: string): Promise<this>;
|
|
1661
|
+
expectCancelAndSaveButtonsToBeEnabled(shouldBeEnabled?: boolean): Promise<this>;
|
|
1662
|
+
addRoleToEventWithAssertions(eventName: string, roleName: string): Promise<this>;
|
|
1663
|
+
removeRoleAndAssert(eventName: string, roleName: string): Promise<this>;
|
|
1664
|
+
openEditMessageFromEvent(eventName: string): Promise<NotificationModalPage>;
|
|
1665
|
+
}
|
|
1666
|
+
declare class SystemSettingsPage extends WithPage {
|
|
1667
|
+
util: Util;
|
|
1668
|
+
risksPage: RisksPage;
|
|
1669
|
+
constructor(page: Page);
|
|
1670
|
+
openGeneralSettings(): Promise<GeneralSettings>;
|
|
1671
|
+
openReleasesAndTriggers(): Promise<ReleaseAndTriggersPage>;
|
|
1672
|
+
openTasks(): Promise<TaskSettingsPage>;
|
|
1673
|
+
openReports(): Promise<ReportsSettingsPage>;
|
|
1674
|
+
openAdvanced(): Promise<advancedSettingsPage>;
|
|
1675
|
+
openExperimental(): Promise<experimentalSettingsPage>;
|
|
1676
|
+
openNotifications(): Promise<NotificationSettingsPage>;
|
|
1677
|
+
openRiskProfiles(): Promise<RisksPage>;
|
|
1678
|
+
openWorkflowCategories(): Promise<void>;
|
|
1679
|
+
openSMTPServer(): Promise<void>;
|
|
1680
|
+
_saveDoNotAssert(): Promise<void>;
|
|
1681
|
+
expectCards(cardTitles: string[] | string): Promise<this>;
|
|
1682
|
+
save(): Promise<this>;
|
|
1683
|
+
reset(): Promise<this>;
|
|
1684
|
+
}
|
|
1685
|
+
declare class GeneralSettings extends SystemSettingsPage {
|
|
1686
|
+
constructor(page: Page);
|
|
1687
|
+
setInstanceName(value: string): Promise<this>;
|
|
1688
|
+
setLoginMessage(message: string): Promise<this>;
|
|
1689
|
+
clearLoginMessage(): Promise<this>;
|
|
1690
|
+
setHeaderColor(colorName: string): Promise<this>;
|
|
1691
|
+
clickNotificationsMenu(): Promise<void>;
|
|
1692
|
+
expectInstanceName(value: string): Promise<this>;
|
|
1693
|
+
restoreDefaultThemeSettings(): Promise<void>;
|
|
1694
|
+
_clearHeaderInstanceName(): Promise<void>;
|
|
1695
|
+
expectHeaderColor(value: string): Promise<this>;
|
|
1696
|
+
expectConfirmationPopUp(): Promise<this>;
|
|
1697
|
+
}
|
|
1698
|
+
declare class ConnectionsPage extends WithPage {
|
|
1699
|
+
constructor(page: Page);
|
|
1700
|
+
addNewInstance(typeName: string): Promise<ConfigurationInstancePage>;
|
|
1701
|
+
expectInstanceDisplayed(instanceName: string): Promise<this>;
|
|
1702
|
+
expectInstanceNotDisplayed(instanceName: string): Promise<this>;
|
|
1703
|
+
openInstance(instanceName: string): Promise<ConfigurationInstancePage>;
|
|
1704
|
+
deleteInstance(instanceName: string): Promise<this>;
|
|
1705
|
+
expectSuccessMsgToBeDisplayed(text: string): Promise<this>;
|
|
1706
|
+
clearFilter(): Promise<this>;
|
|
1707
|
+
searchInstances(instanceName: string): Promise<this>;
|
|
1708
|
+
expectErrorDisplayed(): Promise<void>;
|
|
1709
|
+
}
|
|
1710
|
+
declare class ConfigurationInstancePage extends WithPage {
|
|
1711
|
+
constructor(page: Page);
|
|
1712
|
+
setTextField(fieldName: string, fieldValue: string): Promise<this>;
|
|
1713
|
+
setNumberField(fieldName: string, fieldValue: number): Promise<this>;
|
|
1714
|
+
selectFromDropdown(fieldName: string, element: string): Promise<this>;
|
|
1715
|
+
save(): Promise<this>;
|
|
1716
|
+
test(): Promise<this>;
|
|
1717
|
+
cancel(): Promise<this>;
|
|
1718
|
+
expectResultBanner(message: string): Promise<this>;
|
|
1719
|
+
expectDropdownToBe(fieldName: string, fieldValue: string): Promise<this>;
|
|
1720
|
+
clearDropdown(fieldName: string): Promise<this>;
|
|
1721
|
+
clickField(fieldName: string): Promise<this>;
|
|
1722
|
+
expectTextFieldNotToExist(fieldName: string): Promise<this>;
|
|
1723
|
+
clickHeader(): Promise<void>;
|
|
1724
|
+
expectTextFieldToBe(fieldName: string, fieldValue: string): Promise<this>;
|
|
1725
|
+
setStringList(value: Array<string> | string): Promise<this>;
|
|
1726
|
+
expectStringListCountToBe(count: number): Promise<this>;
|
|
1727
|
+
removeString(value: string): Promise<this>;
|
|
1728
|
+
setStringSet(value: Array<string> | string): Promise<this>;
|
|
1729
|
+
expectStringSetCountToBe(count: number): Promise<this>;
|
|
1730
|
+
setStringMap(pairs: {
|
|
1731
|
+
key: string;
|
|
1732
|
+
value: string;
|
|
1733
|
+
}): Promise<void>;
|
|
1734
|
+
expectStringMapCountToBe(count: number): Promise<this>;
|
|
1735
|
+
expectTestButtonToBeDisabled(): Promise<this>;
|
|
1736
|
+
togglePasswordFieldVariable(fieldName: string): Promise<this>;
|
|
1737
|
+
setPasswordFieldVariable(fieldName: string, fieldValue: string): Promise<this>;
|
|
1738
|
+
expectFieldsToNotBeVisible(fieldNames: Array<string> | string): Promise<this>;
|
|
1739
|
+
expectFieldsToBeVisible(fieldNames: Array<string> | string): Promise<this>;
|
|
1740
|
+
}
|
|
1741
|
+
declare class TaskAccessPage extends WithPage {
|
|
1742
|
+
constructor(page: Page);
|
|
1743
|
+
setTaskAvailableToAllUsers(taskName: string, enable?: boolean): Promise<void>;
|
|
1744
|
+
}
|
|
1745
|
+
declare class Navigation {
|
|
1746
|
+
connections: ConnectionsPage;
|
|
1747
|
+
dataRandomGenerator: DataRandomGenerator;
|
|
1748
|
+
dateUtil: DateUtil;
|
|
1749
|
+
folderPage: FolderPage;
|
|
1750
|
+
globalvariable: GlobalVariable;
|
|
1751
|
+
homePage: HomePage;
|
|
1752
|
+
header: HeaderPage;
|
|
1753
|
+
managePluginsPage: ManagePluginsPage;
|
|
1754
|
+
releasePage: ReleasePage;
|
|
1755
|
+
settingsMenu: SettingsMenu;
|
|
1756
|
+
systemSettingsPage: SystemSettingsPage;
|
|
1757
|
+
usersPage: UsersPage;
|
|
1758
|
+
applicationPage: ApplicationsPage;
|
|
1759
|
+
taskDetailsPage: TaskDetails;
|
|
1760
|
+
taskListPage: TaskListPage;
|
|
1761
|
+
templatePage: TemplatePage;
|
|
1762
|
+
templateListPage: TemplateListPage;
|
|
1763
|
+
personalSettingsPage: PersonalSettingsPage;
|
|
1764
|
+
releaseCalendarPage: ReleaseCalendarPage;
|
|
1765
|
+
releaseGroupPage: ReleaseGroupPage;
|
|
1766
|
+
releaseGroupTimelinePage: ReleaseGroupTimelinePage;
|
|
1767
|
+
releaseGanttPage: ReleaseGanttPage;
|
|
1768
|
+
releaseListPage: ReleasesListPage;
|
|
1769
|
+
rolesPage: RolesPage;
|
|
1770
|
+
util: Util;
|
|
1771
|
+
workflowCatalogPage: WorkflowCatalogPage;
|
|
1772
|
+
taskAccessPage: TaskAccessPage;
|
|
1773
|
+
constructor(page: Page);
|
|
1774
|
+
openTemplate(id: string): Promise<ReleasePage>;
|
|
1775
|
+
openFolder(id: string): Promise<FolderPage>;
|
|
1776
|
+
openProfilePage(): Promise<PersonalSettingsPage>;
|
|
1777
|
+
openVariablesOnReleasePage(releaseId: string): Promise<ReleaseVariablesPage>;
|
|
1778
|
+
openRelease(id: string): Promise<ReleasePage>;
|
|
1779
|
+
openPlannerView(releaseId: string): Promise<ReleaseGanttPage>;
|
|
1780
|
+
openApplicationsPage(): Promise<ApplicationsPage>;
|
|
1781
|
+
openPersonalAccessTokenPage(): Promise<PersonalAccessTokenPage>;
|
|
1782
|
+
gotoHomePage(): Promise<void>;
|
|
1783
|
+
gotoFolderPage(): Promise<void>;
|
|
1784
|
+
gotoTaskPage(): Promise<void>;
|
|
1785
|
+
gotoReleasePage(): Promise<void>;
|
|
1786
|
+
gotoWorkflowCatalogPage(): Promise<void>;
|
|
1787
|
+
gotoWorkflowsPage(): Promise<void>;
|
|
1788
|
+
gotoGroupsPage(): Promise<void>;
|
|
1789
|
+
gotoReleaseCalenderPage(): Promise<void>;
|
|
1790
|
+
gotoDeliveriesPage(): Promise<void>;
|
|
1791
|
+
gotoTriggersPage(): Promise<void>;
|
|
1792
|
+
gotoDigitalAnalyticsPage(): Promise<void>;
|
|
1793
|
+
gotoReportsPage(): Promise<void>;
|
|
1794
|
+
gotoTemplatesPage(): Promise<void>;
|
|
1795
|
+
gotoEnvironmentsPage(): Promise<void>;
|
|
1796
|
+
gotoEnvironmentsCalenderPage(): Promise<void>;
|
|
1797
|
+
gotoGobalVariablesPage(): Promise<void>;
|
|
1798
|
+
gotoConnectionsPage(): Promise<void>;
|
|
1799
|
+
collapseSideView(): Promise<void>;
|
|
1800
|
+
expandSideView(): Promise<void>;
|
|
1801
|
+
openRisksProfile(): Promise<void>;
|
|
1802
|
+
openConnection(): Promise<void>;
|
|
1803
|
+
clickOnPrimaryLogo(): Promise<void>;
|
|
1804
|
+
gotoTaskAccessPage(): Promise<TaskAccessPage>;
|
|
1805
|
+
}
|
|
1806
|
+
declare class LoginPage extends WithPage {
|
|
1807
|
+
/**
|
|
1808
|
+
* Login with username and password
|
|
1809
|
+
* @param userName
|
|
1810
|
+
* @param password
|
|
1811
|
+
*/
|
|
1812
|
+
login(userName: string, password: string): Promise<void>;
|
|
1813
|
+
loginWithoutReload(userName: string, password: string): Promise<void>;
|
|
1814
|
+
/**
|
|
1815
|
+
* Logout as authenticated user
|
|
1816
|
+
*/
|
|
1817
|
+
logout(): Promise<void>;
|
|
1818
|
+
/**
|
|
1819
|
+
* Expect login to be restricted for a user
|
|
1820
|
+
*/
|
|
1821
|
+
expectLoginDisallowed(): Promise<void>;
|
|
1822
|
+
/**
|
|
1823
|
+
* Expect the respective user is logged In
|
|
1824
|
+
* @param username
|
|
1825
|
+
*/
|
|
1826
|
+
expectToBeLogged(username: string): Promise<void>;
|
|
1827
|
+
closePendoModalWindow(): Promise<void>;
|
|
1828
|
+
expectUserNotVisible(): Promise<void>;
|
|
1829
|
+
expectUserVisible(): Promise<void>;
|
|
1830
|
+
expectLoginPage(): Promise<void>;
|
|
1831
|
+
}
|
|
1832
|
+
interface BaseConfigurationItem {
|
|
1833
|
+
id: string;
|
|
1834
|
+
type: string;
|
|
1835
|
+
}
|
|
1836
|
+
interface PlanItem extends BaseConfigurationItem {
|
|
1837
|
+
title?: string;
|
|
1838
|
+
}
|
|
1839
|
+
interface Release extends PlanItem {
|
|
1840
|
+
allowConcurrentReleasesFromTrigger: boolean;
|
|
1841
|
+
attachments: Array<Attachment>;
|
|
1842
|
+
autoStart: boolean;
|
|
1843
|
+
description: string;
|
|
1844
|
+
dueDate?: Date;
|
|
1845
|
+
endDate?: Date;
|
|
1846
|
+
extensions: Array<ReleaseExtension>;
|
|
1847
|
+
flagStatus?: string;
|
|
1848
|
+
owner?: string;
|
|
1849
|
+
passwordVariableValues?: VariableValues;
|
|
1850
|
+
phases: Array<_Phase2>;
|
|
1851
|
+
plannedDuration: number;
|
|
1852
|
+
queryableEndDate?: Date;
|
|
1853
|
+
queryableStartDate?: Date;
|
|
1854
|
+
realFlagStatus?: string;
|
|
1855
|
+
scheduledStartDate?: Date;
|
|
1856
|
+
scriptUserPassword?: string;
|
|
1857
|
+
scriptUsername?: string;
|
|
1858
|
+
startDate?: Date;
|
|
1859
|
+
status: ReleaseStatus;
|
|
1860
|
+
summary?: Dashboard;
|
|
1861
|
+
tags?: Array<string>;
|
|
1862
|
+
teams: Array<Team>;
|
|
1863
|
+
variableValues?: VariableValues;
|
|
1864
|
+
variables: Array<Variable>;
|
|
1865
|
+
}
|
|
1866
|
+
type VariableValues = Record<string, any>;
|
|
1867
|
+
interface Variable extends BaseConfigurationItem {
|
|
1868
|
+
description?: string;
|
|
1869
|
+
folderId?: any;
|
|
1870
|
+
key: string;
|
|
1871
|
+
label?: string;
|
|
1872
|
+
multiline?: boolean;
|
|
1873
|
+
referencedType?: string;
|
|
1874
|
+
requiresValue?: boolean;
|
|
1875
|
+
showOnReleaseStart?: boolean;
|
|
1876
|
+
value?: unknown;
|
|
1877
|
+
valueProvider?: VariableValueProvider;
|
|
1878
|
+
}
|
|
1879
|
+
interface VariableValueProvider {
|
|
1880
|
+
id: string;
|
|
1881
|
+
type?: string;
|
|
1882
|
+
values?: unknown;
|
|
1883
|
+
variable: string;
|
|
1884
|
+
}
|
|
1885
|
+
interface Container extends PlanItem {
|
|
1886
|
+
tasks: Array<Task>;
|
|
1887
|
+
}
|
|
1888
|
+
interface _Phase2 extends Container {
|
|
1889
|
+
color: string;
|
|
1890
|
+
description: string;
|
|
1891
|
+
dueDate?: Date;
|
|
1892
|
+
endDate?: Date;
|
|
1893
|
+
plannedDuration: number;
|
|
1894
|
+
scheduledStartDate?: Date;
|
|
1895
|
+
startDate: Date;
|
|
1896
|
+
status: PhaseStatus;
|
|
1897
|
+
}
|
|
1898
|
+
interface _Dependency1 extends PlanItem {
|
|
1899
|
+
archivedAsResolved: boolean;
|
|
1900
|
+
archivedTargetId: string;
|
|
1901
|
+
archivedTargetTitle: string;
|
|
1902
|
+
target: {
|
|
1903
|
+
id: string;
|
|
1904
|
+
type: string;
|
|
1905
|
+
};
|
|
1906
|
+
targetId: string;
|
|
1907
|
+
}
|
|
1908
|
+
interface Folder extends PlanItem {
|
|
1909
|
+
children?: Array<Folder>;
|
|
1910
|
+
teams?: Array<FixtureTeam>;
|
|
1911
|
+
variables?: Array<Variable>;
|
|
1912
|
+
}
|
|
1913
|
+
interface Task extends PlanItem {
|
|
1914
|
+
addresses: Array<string>;
|
|
1915
|
+
attachments: Array<Attachment>;
|
|
1916
|
+
body?: string;
|
|
1917
|
+
comments: Array<Comment>;
|
|
1918
|
+
conditions: Array<Condition>;
|
|
1919
|
+
delayDuringBlackout: boolean;
|
|
1920
|
+
dependencies: Array<_Dependency1>;
|
|
1921
|
+
description?: string;
|
|
1922
|
+
dueDate?: Date;
|
|
1923
|
+
endDate?: Date;
|
|
1924
|
+
failuresCount: number;
|
|
1925
|
+
flagStatus?: string;
|
|
1926
|
+
folderId?: string;
|
|
1927
|
+
links: Array<Link>;
|
|
1928
|
+
locked: boolean;
|
|
1929
|
+
newReleaseTitle?: string;
|
|
1930
|
+
originalScheduledStartDate: string;
|
|
1931
|
+
owner?: string;
|
|
1932
|
+
plannedDuration: number;
|
|
1933
|
+
precondition: string;
|
|
1934
|
+
pythonScript?: PythonScript;
|
|
1935
|
+
scheduledStartDate?: Date;
|
|
1936
|
+
script: string;
|
|
1937
|
+
startDate?: Date;
|
|
1938
|
+
status: TaskStatus;
|
|
1939
|
+
subject?: string;
|
|
1940
|
+
tags?: Array<string>;
|
|
1941
|
+
tasks: Array<Task>;
|
|
1942
|
+
team: string;
|
|
1943
|
+
templateId?: string;
|
|
1944
|
+
templateVariables?: Array<Variable>;
|
|
1945
|
+
variableMapping: VariableValues;
|
|
1946
|
+
variables?: Array<Variable>;
|
|
1947
|
+
waitForScheduledStartDate?: boolean;
|
|
1948
|
+
}
|
|
1949
|
+
interface Condition extends PlanItem {
|
|
1950
|
+
checked?: boolean;
|
|
1951
|
+
}
|
|
1952
|
+
type Link = PlanItem;
|
|
1953
|
+
type Attachment = PlanItem;
|
|
1954
|
+
interface Comment extends PlanItem {
|
|
1955
|
+
author?: string;
|
|
1956
|
+
date?: Date;
|
|
1957
|
+
text?: string;
|
|
1958
|
+
}
|
|
1959
|
+
interface Dashboard extends BaseConfigurationItem {
|
|
1960
|
+
owner?: string;
|
|
1961
|
+
parentId?: string;
|
|
1962
|
+
tiles: Array<Tile>;
|
|
1963
|
+
title?: string;
|
|
1964
|
+
}
|
|
1965
|
+
type ReleaseExtension = BaseConfigurationItem;
|
|
1966
|
+
interface Tile extends BaseConfigurationItem {
|
|
1967
|
+
col: number;
|
|
1968
|
+
password?: string;
|
|
1969
|
+
row: number;
|
|
1970
|
+
title: string;
|
|
1971
|
+
username?: string;
|
|
1972
|
+
variableMapping: Record<string, any>;
|
|
1973
|
+
width: number;
|
|
1974
|
+
}
|
|
1975
|
+
interface PythonScript extends BaseConfigurationItem {
|
|
1976
|
+
customScriptTask: string;
|
|
1977
|
+
password?: string;
|
|
1978
|
+
result: string;
|
|
1979
|
+
stringList: Array<string>;
|
|
1980
|
+
stringMap: Map<string, string>;
|
|
1981
|
+
stringSet: Set<string>;
|
|
1982
|
+
}
|
|
1983
|
+
type ReleaseStatus = 'TEMPLATE' | 'PLANNED' | 'IN_PROGRESS' | 'PAUSED' | 'FAILING' | 'FAILED' | 'COMPLETED' | 'ABORTED';
|
|
1984
|
+
type PhaseStatus = 'PLANNED' | 'IN_PROGRESS' | 'COMPLETED' | 'FAILING' | 'FAILED' | 'SKIPPED' | 'ABORTED';
|
|
1985
|
+
type TaskStatus = 'IN_PROGRESS' | 'PLANNED' | 'SKIPPED_IN_ADVANCE' | 'COMPLETED_IN_ADVANCE' | 'COMPLETED' | 'SKIPPED' | 'ABORTED' | 'PENDING' | 'FACET_CHECK_IN_PROGRESS' | 'FAILED' | 'FAILING' | 'FAILURE_HANDLER_IN_PROGRESS' | 'ABORT_SCRIPT_IN_PROGRESS' | 'PRECONDITION_IN_PROGRESS' | 'QUEUED' | 'ABORT_SCRIPT_QUEUED' | 'WAITING_FOR_INPUT' | 'FAILURE_HANDLER_QUEUED';
|
|
1986
|
+
interface Team extends BaseConfigurationItem {
|
|
1987
|
+
members: Array<string> | Array<principals>;
|
|
1988
|
+
permissions: Array<string>;
|
|
1989
|
+
roles?: Array<FixtureRoles>;
|
|
1990
|
+
teamName: string;
|
|
1991
|
+
}
|
|
1992
|
+
type FixtureTeam = Omit<Team, 'id'>;
|
|
1993
|
+
interface principals {
|
|
1994
|
+
name: string;
|
|
1995
|
+
type: string;
|
|
1996
|
+
}
|
|
1997
|
+
type FeatureType = 'xlrelease.TaskDrawer';
|
|
1998
|
+
interface FixtureFeature {
|
|
1999
|
+
enabled: boolean;
|
|
2000
|
+
id: string;
|
|
2001
|
+
type: FeatureType;
|
|
2002
|
+
}
|
|
2003
|
+
type DeepPartial<T> = {
|
|
2004
|
+
[P in keyof T]?: DeepPartial<T[P]>;
|
|
2005
|
+
};
|
|
2006
|
+
type FixtureRelease = DeepPartial<Release> & Pick<Release, 'id'>;
|
|
2007
|
+
interface FixtureConfiguration extends PlanItem {
|
|
2008
|
+
accessTokenUrl?: string;
|
|
2009
|
+
address?: string;
|
|
2010
|
+
apiToken?: string;
|
|
2011
|
+
authenticationMethod?: string;
|
|
2012
|
+
clientId?: string;
|
|
2013
|
+
folderId?: string;
|
|
2014
|
+
password?: string;
|
|
2015
|
+
port?: number;
|
|
2016
|
+
proxyHost?: string;
|
|
2017
|
+
proxyPassword?: string;
|
|
2018
|
+
proxyPort?: string;
|
|
2019
|
+
proxyUsername?: string;
|
|
2020
|
+
scriptLocation?: string;
|
|
2021
|
+
url?: string;
|
|
2022
|
+
username?: string;
|
|
2023
|
+
}
|
|
2024
|
+
interface FixtureCi extends PlanItem {
|
|
2025
|
+
apiToken?: string;
|
|
2026
|
+
defaultProfile?: boolean;
|
|
2027
|
+
documentationPage?: string;
|
|
2028
|
+
enabled?: boolean;
|
|
2029
|
+
externalIdLabel?: string;
|
|
2030
|
+
url?: string;
|
|
2031
|
+
username?: string;
|
|
2032
|
+
}
|
|
2033
|
+
interface FixtureTrigger extends PlanItem {
|
|
2034
|
+
count?: number;
|
|
2035
|
+
description?: string;
|
|
2036
|
+
enabled?: boolean;
|
|
2037
|
+
folderId?: string;
|
|
2038
|
+
gitRepository?: string;
|
|
2039
|
+
jql?: string;
|
|
2040
|
+
password?: string;
|
|
2041
|
+
periodicity?: number | string;
|
|
2042
|
+
pollType?: string;
|
|
2043
|
+
releaseTitle: string;
|
|
2044
|
+
server?: string;
|
|
2045
|
+
template: string;
|
|
2046
|
+
username?: string;
|
|
2047
|
+
}
|
|
2048
|
+
interface FixtureActivityLog extends PlanItem {
|
|
2049
|
+
activityType: string;
|
|
2050
|
+
eventTime: Date;
|
|
2051
|
+
message: string;
|
|
2052
|
+
targetId: string;
|
|
2053
|
+
username: string;
|
|
2054
|
+
}
|
|
2055
|
+
interface FixtureRoles {
|
|
2056
|
+
principals?: Array<string>;
|
|
2057
|
+
role?: Array<FixtureRole>;
|
|
2058
|
+
}
|
|
2059
|
+
interface FixtureRole {
|
|
2060
|
+
id: number;
|
|
2061
|
+
name: string;
|
|
2062
|
+
}
|
|
2063
|
+
interface FixturePermissions {
|
|
2064
|
+
permissions?: Array<string>;
|
|
2065
|
+
role?: Array<FixtureRole>;
|
|
2066
|
+
}
|
|
2067
|
+
interface FixtureGlobalRole {
|
|
2068
|
+
id: string | null;
|
|
2069
|
+
name: string;
|
|
2070
|
+
permissions: Array<string>;
|
|
2071
|
+
principals: Array<FixturePrincipal>;
|
|
2072
|
+
}
|
|
2073
|
+
interface FixturePrincipal {
|
|
2074
|
+
fullname: string;
|
|
2075
|
+
username: string;
|
|
2076
|
+
}
|
|
2077
|
+
interface ReleaseGroup extends PlanItem {
|
|
2078
|
+
endDate: Date;
|
|
2079
|
+
folderId: string;
|
|
2080
|
+
releaseIds?: Array<string>;
|
|
2081
|
+
startDate: Date;
|
|
2082
|
+
}
|
|
2083
|
+
interface RiskProfile extends PlanItem {
|
|
2084
|
+
riskProfileAssessors?: Array<RiskProfile>;
|
|
2085
|
+
}
|
|
2086
|
+
interface Delivery extends PlanItem {
|
|
2087
|
+
deliveryPattern?: string;
|
|
2088
|
+
endDate?: Date;
|
|
2089
|
+
folderId: string;
|
|
2090
|
+
patternId?: string;
|
|
2091
|
+
patternTitle?: string;
|
|
2092
|
+
plannedDuration: number;
|
|
2093
|
+
shouldResetPattern?: boolean;
|
|
2094
|
+
stages: Array<Stage>;
|
|
2095
|
+
startDate?: Date;
|
|
2096
|
+
status: string;
|
|
2097
|
+
trackedItems?: Array<TrackedItem>;
|
|
2098
|
+
transitions?: Array<Transition>;
|
|
2099
|
+
}
|
|
2100
|
+
interface Stage {
|
|
2101
|
+
description?: string;
|
|
2102
|
+
endDate?: Date;
|
|
2103
|
+
id?: null | string;
|
|
2104
|
+
plannedDuration?: number;
|
|
2105
|
+
startDate?: Date;
|
|
2106
|
+
status?: string;
|
|
2107
|
+
title?: string;
|
|
2108
|
+
transition?: Transition;
|
|
2109
|
+
type: string;
|
|
2110
|
+
}
|
|
2111
|
+
interface Transition {
|
|
2112
|
+
id?: null | string;
|
|
2113
|
+
title?: string;
|
|
2114
|
+
type: string;
|
|
2115
|
+
}
|
|
2116
|
+
interface TrackedItem extends PlanItem {
|
|
2117
|
+
createdDate: Date;
|
|
2118
|
+
description?: string;
|
|
2119
|
+
endDate?: Date;
|
|
2120
|
+
folderId?: string;
|
|
2121
|
+
owner?: string;
|
|
2122
|
+
startDate?: Date;
|
|
2123
|
+
status?: string;
|
|
2124
|
+
}
|
|
2125
|
+
interface Reservation {
|
|
2126
|
+
applications?: Array<ApplicationFixture> | string;
|
|
2127
|
+
endDate: string;
|
|
2128
|
+
environment: Array<EnvironmentFixture> | string;
|
|
2129
|
+
id?: null | string;
|
|
2130
|
+
note?: string;
|
|
2131
|
+
startDate: string;
|
|
2132
|
+
type?: string;
|
|
2133
|
+
}
|
|
2134
|
+
interface ApplicationFixture {
|
|
2135
|
+
environments?: Array<EnvironmentFixture>;
|
|
2136
|
+
folderId?: string | null;
|
|
2137
|
+
id?: string | null;
|
|
2138
|
+
title?: string;
|
|
2139
|
+
type?: string;
|
|
2140
|
+
}
|
|
2141
|
+
interface EnvironmentFixture {
|
|
2142
|
+
description?: string;
|
|
2143
|
+
folderId?: string | null;
|
|
2144
|
+
id: null | string;
|
|
2145
|
+
labels?: Array<Label>;
|
|
2146
|
+
stage?: Stage;
|
|
2147
|
+
title?: string;
|
|
2148
|
+
type?: string;
|
|
2149
|
+
}
|
|
2150
|
+
interface Label extends PlanItem {
|
|
2151
|
+
color: string;
|
|
2152
|
+
title: string;
|
|
2153
|
+
}
|
|
2154
|
+
interface Facet extends BaseConfigurationItem {
|
|
2155
|
+
analysisDate?: string;
|
|
2156
|
+
applicationId?: Array<ApplicationFixture> | string;
|
|
2157
|
+
build?: string;
|
|
2158
|
+
build_url?: string;
|
|
2159
|
+
complianceData?: string;
|
|
2160
|
+
createdBy?: string;
|
|
2161
|
+
creationDate?: string;
|
|
2162
|
+
duration?: string;
|
|
2163
|
+
endDate?: string;
|
|
2164
|
+
environmentId?: Array<EnvironmentFixture> | string;
|
|
2165
|
+
outcome?: string;
|
|
2166
|
+
priority?: string;
|
|
2167
|
+
project?: string;
|
|
2168
|
+
project_url?: string;
|
|
2169
|
+
record?: string;
|
|
2170
|
+
record_url?: string;
|
|
2171
|
+
serverUrl?: string;
|
|
2172
|
+
serverUser?: string;
|
|
2173
|
+
startDate?: string;
|
|
2174
|
+
status?: string;
|
|
2175
|
+
targetId?: string;
|
|
2176
|
+
ticket?: string;
|
|
2177
|
+
ticketType?: string;
|
|
2178
|
+
ticket_url?: string;
|
|
2179
|
+
title?: string;
|
|
2180
|
+
updatedDate?: string;
|
|
2181
|
+
version?: string;
|
|
2182
|
+
}
|
|
2183
|
+
type ReleaseFixtures = {
|
|
2184
|
+
fixtures: Fixtures;
|
|
2185
|
+
loginPage: LoginPage;
|
|
2186
|
+
navigation: Navigation;
|
|
2187
|
+
};
|
|
2188
|
+
export const test: import("@playwright/test").TestType<import("@playwright/test").PlaywrightTestArgs & import("@playwright/test").PlaywrightTestOptions & ReleaseFixtures, import("@playwright/test").PlaywrightWorkerArgs & import("@playwright/test").PlaywrightWorkerOptions>;
|
|
2189
|
+
declare class Fixtures {
|
|
2190
|
+
constructor(request: APIRequestContext, page: Page);
|
|
2191
|
+
release(release: FixtureRelease): Promise<APIResponse>;
|
|
2192
|
+
archivedRelease(release: FixtureRelease): Promise<APIResponse>;
|
|
2193
|
+
configuration(ci: FixtureConfiguration): Promise<APIResponse>;
|
|
2194
|
+
ci(ci: FixtureCi): Promise<APIResponse>;
|
|
2195
|
+
deleteCI(id: string): Promise<APIResponse>;
|
|
2196
|
+
getParentId(id: string): string;
|
|
2197
|
+
addSystemTeams(teams: Array<FixtureTeam>): Array<FixtureTeam>;
|
|
2198
|
+
folder(folder: Folder): Promise<APIResponse>;
|
|
2199
|
+
createFolder(folderJson: Folder): Promise<APIResponse>;
|
|
2200
|
+
folderVariable(variable: any[]): Promise<APIResponse>;
|
|
2201
|
+
trigger(trigger: FixtureTrigger): Promise<APIResponse>;
|
|
2202
|
+
roles(rolePrincipals: FixtureRoles): Promise<APIResponse>;
|
|
2203
|
+
permissions(rolePermissions: FixturePermissions): Promise<APIResponse>;
|
|
2204
|
+
globalRoles(rolePrincipals: FixtureGlobalRole): Promise<APIResponse>;
|
|
2205
|
+
dashboard(dashboard: Dashboard): Promise<APIResponse>;
|
|
2206
|
+
deleteGlobalRole(roleName: string): Promise<APIResponse>;
|
|
2207
|
+
updateUserProfile(username: string, profile: any): Promise<APIResponse>;
|
|
2208
|
+
deleteRole(roleName: string): Promise<APIResponse>;
|
|
2209
|
+
deleteArchivedRelease(id: string): Promise<APIResponse>;
|
|
2210
|
+
deleteRelease(id: string): Promise<APIResponse>;
|
|
2211
|
+
deleteWelcomeRelease(username: string): Promise<void>;
|
|
2212
|
+
deleteReleaseWithTitle(title: string): Promise<void>;
|
|
2213
|
+
deleteUser(username: string): Promise<APIResponse>;
|
|
2214
|
+
deleteUserProfile(userProfile: string): Promise<APIResponse>;
|
|
2215
|
+
deleteReleaseGroup(releaseGroup: string): Promise<APIResponse>;
|
|
2216
|
+
deleteTrigger(id: string): Promise<APIResponse>;
|
|
2217
|
+
deleteConfiguration(id: string): Promise<APIResponse>;
|
|
2218
|
+
deleteFolder(folderId: string): Promise<APIResponse>;
|
|
2219
|
+
deleteGlobalVariables(): Promise<APIResponse>;
|
|
2220
|
+
deleteGlobalVariable(id: string): Promise<APIResponse>;
|
|
2221
|
+
activityLogs(id: string, logs: Array<FixtureActivityLog>): Promise<APIResponse>;
|
|
2222
|
+
globalVariable(variable: Variable): Promise<APIResponse>;
|
|
2223
|
+
addDefaultSmtpServer(): Promise<APIResponse>;
|
|
2224
|
+
riskProfile(riskProfile: RiskProfile): Promise<APIResponse>;
|
|
2225
|
+
deleteRiskProfile(riskProfileId: string): Promise<APIResponse>;
|
|
2226
|
+
createDeliveryPattern(delivery: Delivery, shouldResetPattern?: boolean): Promise<APIResponse>;
|
|
2227
|
+
createDelivery(delivery: Delivery): Promise<APIResponse>;
|
|
2228
|
+
facet(facet: Facet): Promise<APIResponse>;
|
|
2229
|
+
application(application: ApplicationFixture): Promise<APIResponse>;
|
|
2230
|
+
environment(environment: EnvironmentFixture): Promise<APIResponse>;
|
|
2231
|
+
reservation(reservation: Reservation): Promise<APIResponse>;
|
|
2232
|
+
deleteDelivery(delivery: Delivery): Promise<APIResponse>;
|
|
2233
|
+
deleteApplication(applicationId: string): Promise<APIResponse>;
|
|
2234
|
+
deleteEnvironment(environmentId: string): Promise<APIResponse>;
|
|
2235
|
+
deleteEnvironmentStage(environmentStageId: string): Promise<APIResponse>;
|
|
2236
|
+
clearCalendar(): Promise<APIResponse>;
|
|
2237
|
+
deleteReservation(id: string): Promise<APIResponse>;
|
|
2238
|
+
cleanAll(): Promise<void>;
|
|
2239
|
+
addJiraTask(): Promise<string>;
|
|
2240
|
+
addBlackout(name: string, from: Date, to: Date): Promise<APIResponse>;
|
|
2241
|
+
addUser(username: string, password: string): Promise<void>;
|
|
2242
|
+
addUserProfile(username: string, profile?: any): Promise<void>;
|
|
2243
|
+
resetAdminProfile(): Promise<APIResponse>;
|
|
2244
|
+
resetUserProfile(username: string, fullName?: string): Promise<APIResponse>;
|
|
2245
|
+
updateProfile(profile: {
|
|
2246
|
+
dateFormat: string;
|
|
2247
|
+
email: string;
|
|
2248
|
+
external: boolean;
|
|
2249
|
+
firstDayOfWeek: number;
|
|
2250
|
+
fullName: string;
|
|
2251
|
+
loginAllowed: boolean;
|
|
2252
|
+
profileId: string;
|
|
2253
|
+
timeFormat: string;
|
|
2254
|
+
username: string;
|
|
2255
|
+
}): Promise<APIResponse>;
|
|
2256
|
+
expectJiraTaskStatus(taskId: string, expectedStatus: string): Promise<void>;
|
|
2257
|
+
expectJiraTaskSummary(taskId: string, expectedSummary: string): Promise<void>;
|
|
2258
|
+
expectContainingAttachments(releaseId: string, tempFile: string): Promise<void>;
|
|
2259
|
+
waitForReleaseStarted(releaseTitle: string): Promise<void>;
|
|
2260
|
+
waitForFirstPoll(triggerId: string): Promise<void>;
|
|
2261
|
+
exec(path: string): Promise<void>;
|
|
2262
|
+
getFakeApiUrl(): string;
|
|
2263
|
+
getEnvVariable(name: string): string | undefined;
|
|
2264
|
+
archiveRelease(releaseId: string): Promise<APIResponse>;
|
|
2265
|
+
preArchiveRelease(releaseId: string): Promise<APIResponse>;
|
|
2266
|
+
setFeatures(features: Array<FixtureFeature>): Promise<APIResponse>;
|
|
2267
|
+
enableTaskDrawer(enabled: boolean): Promise<APIResponse>;
|
|
2268
|
+
createReleaseGroup(releaseGroup: ReleaseGroup): Promise<APIResponse>;
|
|
2269
|
+
}
|
|
2270
|
+
|
|
2271
|
+
//# sourceMappingURL=types.d.ts.map
|