@digital-ai/devops-page-object-release 0.0.60 → 0.0.62
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 +17 -0
- package/dist/main.js +128 -3
- package/dist/main.js.map +1 -1
- package/dist/module.js +128 -3
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +37 -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>;
|
|
@@ -1050,6 +1079,7 @@ declare class SettingsMenu extends WithPage {
|
|
|
1050
1079
|
openSystemSettings(): Promise<void>;
|
|
1051
1080
|
openRunner(): Promise<void>;
|
|
1052
1081
|
openConfigureSystemMessage(): Promise<void>;
|
|
1082
|
+
closeConfigureSystemMessage(): Promise<void>;
|
|
1053
1083
|
configureSystemMessage(message: string): Promise<void>;
|
|
1054
1084
|
disableSystemMessage(): Promise<void>;
|
|
1055
1085
|
openTaskManager(): Promise<void>;
|
|
@@ -1588,6 +1618,8 @@ declare class SystemSettingsPage extends WithPage {
|
|
|
1588
1618
|
declare class GeneralSettings extends SystemSettingsPage {
|
|
1589
1619
|
constructor(page: Page);
|
|
1590
1620
|
setInstanceName(value: string): Promise<this>;
|
|
1621
|
+
setLoginMessage(message: string): Promise<this>;
|
|
1622
|
+
clearLoginMessage(): Promise<this>;
|
|
1591
1623
|
setHeaderColor(colorName: string): Promise<this>;
|
|
1592
1624
|
clickNotificationsMenu(): Promise<void>;
|
|
1593
1625
|
expectInstanceName(value: string): Promise<this>;
|
|
@@ -1710,6 +1742,7 @@ declare class LoginPage extends WithPage {
|
|
|
1710
1742
|
* @param password
|
|
1711
1743
|
*/
|
|
1712
1744
|
login(userName: string, password: string): Promise<void>;
|
|
1745
|
+
loginWithoutReload(userName: string, password: string): Promise<void>;
|
|
1713
1746
|
/**
|
|
1714
1747
|
* Logout as authenticated user
|
|
1715
1748
|
*/
|
|
@@ -1724,6 +1757,8 @@ declare class LoginPage extends WithPage {
|
|
|
1724
1757
|
*/
|
|
1725
1758
|
expectToBeLogged(username: string): Promise<void>;
|
|
1726
1759
|
closePendoModalWindow(): Promise<void>;
|
|
1760
|
+
expectUserNotVisible(): Promise<void>;
|
|
1761
|
+
expectUserVisible(): Promise<void>;
|
|
1727
1762
|
}
|
|
1728
1763
|
interface BaseConfigurationItem {
|
|
1729
1764
|
id: string;
|