@digital-ai/devops-page-object-release 0.0.61 → 0.0.63
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 +12 -0
- package/dist/main.js +83 -3
- package/dist/main.js.map +1 -1
- package/dist/module.js +83 -3
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +31 -2
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -155,11 +155,28 @@ declare class DeleteVariableModel extends WithPage {
|
|
|
155
155
|
deleteBySettingDate(date: string, monthYear: string): Promise<void>;
|
|
156
156
|
}
|
|
157
157
|
declare class ActivityRail extends WithPage {
|
|
158
|
-
|
|
158
|
+
commentFilterInput: Locator;
|
|
159
|
+
filterIconButton: Locator;
|
|
160
|
+
markdownWrapper: Locator;
|
|
161
|
+
sortButton: Locator;
|
|
162
|
+
systemListItem: Locator;
|
|
163
|
+
tooltipPopper: Locator;
|
|
164
|
+
userListItem: Locator;
|
|
165
|
+
viewAllListItem: Locator;
|
|
166
|
+
constructor(page: Page);
|
|
167
|
+
expectCommentToContain(comment: string, shouldContain?: boolean): Promise<void>;
|
|
168
|
+
expectCommentToContainAtPosition(comment: string, positionIndex: number): Promise<this>;
|
|
159
169
|
expectCommentToContainLink(hrefLink: RegExp): Promise<void>;
|
|
160
170
|
expectTaskIsCommentable(isCommentable: boolean): Promise<void>;
|
|
161
171
|
addComment(comment: string): Promise<this>;
|
|
172
|
+
searchComments(filter: string): Promise<this>;
|
|
173
|
+
clickOnFilterIconButton(): Promise<this>;
|
|
174
|
+
clickOnUserListItemFilter(): Promise<this>;
|
|
175
|
+
clickOnSystemListItemFilter(): Promise<this>;
|
|
176
|
+
clickOnViewAllListItemFilter(): Promise<this>;
|
|
177
|
+
clickOnSortIconButton(): Promise<this>;
|
|
162
178
|
expectAuthorCommentsToBe(author: string): Promise<this>;
|
|
179
|
+
expectSortIconButtonToHaveTooltipText(tooltipText: string): Promise<this>;
|
|
163
180
|
expectCommentsDateTimeToBe(comment: string, date: string): Promise<this>;
|
|
164
181
|
}
|
|
165
182
|
declare class AttachmentRail extends WithPage {
|
|
@@ -399,7 +416,17 @@ declare class SchedulingRail extends WithPage {
|
|
|
399
416
|
checkEnvironmentAvailability(): Promise<void>;
|
|
400
417
|
unCheckEnvironmentAvailability(): Promise<void>;
|
|
401
418
|
}
|
|
402
|
-
|
|
419
|
+
declare class HistoryRail extends WithPage {
|
|
420
|
+
logsFilterInput: Locator;
|
|
421
|
+
logContentWrapper: Locator;
|
|
422
|
+
sortButton: Locator;
|
|
423
|
+
constructor(page: Page);
|
|
424
|
+
expectLogToContain(log: string, shouldContain?: boolean): Promise<void>;
|
|
425
|
+
expectLogToContainAtPosition(log: string, positionIndex: number): Promise<this>;
|
|
426
|
+
searchLogs(filter: string): Promise<this>;
|
|
427
|
+
clickOnSortIconButton(): Promise<this>;
|
|
428
|
+
}
|
|
429
|
+
type Rail = 'Overview' | 'Activity' | 'Config' | 'Scheduling' | 'Conditions' | 'Attributes' | 'Attach' | 'Tags' | 'History';
|
|
403
430
|
declare class TaskDrawer extends WithPage {
|
|
404
431
|
activity: ActivityRail;
|
|
405
432
|
attachment: AttachmentRail;
|
|
@@ -411,6 +438,7 @@ declare class TaskDrawer extends WithPage {
|
|
|
411
438
|
config: ConfigRail;
|
|
412
439
|
condition: ConditionRail;
|
|
413
440
|
failMenu: Locator;
|
|
441
|
+
history: HistoryRail;
|
|
414
442
|
retryButton: Locator;
|
|
415
443
|
openMenu: Locator;
|
|
416
444
|
overview: OverviewRail;
|
|
@@ -427,6 +455,7 @@ declare class TaskDrawer extends WithPage {
|
|
|
427
455
|
openAttributesRail(): Promise<void>;
|
|
428
456
|
openAttachRail(): Promise<void>;
|
|
429
457
|
openTagsRail(): Promise<void>;
|
|
458
|
+
openHistoryRail(): Promise<void>;
|
|
430
459
|
openRail(rail: Rail): Promise<void>;
|
|
431
460
|
close(): Promise<void>;
|
|
432
461
|
retryTask(comment: string): Promise<void>;
|