@digital-ai/devops-page-object-release 0.0.63 → 0.0.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/dist/main.js +119 -1
- package/dist/main.js.map +1 -1
- package/dist/module.js +119 -1
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +25 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -1031,10 +1031,16 @@ declare class UserModal extends WithPage {
|
|
|
1031
1031
|
setFullName(fullName: string): Promise<void>;
|
|
1032
1032
|
setEmail(email: string): Promise<void>;
|
|
1033
1033
|
setPassword(password: string): Promise<void>;
|
|
1034
|
+
setCurrentPassword(password: string): Promise<void>;
|
|
1034
1035
|
setConfirmPassword(cnfPassword: string): Promise<void>;
|
|
1035
1036
|
save(): Promise<void>;
|
|
1036
1037
|
cancel(): Promise<void>;
|
|
1037
1038
|
delete(): Promise<void>;
|
|
1039
|
+
expectSaveButtonEnabled(): Promise<void>;
|
|
1040
|
+
expectSaveButtonDisabled(): Promise<void>;
|
|
1041
|
+
expectErrorMessage(errorMsg: string): Promise<void>;
|
|
1042
|
+
expectNewPasswordBoxDisabled(): Promise<this>;
|
|
1043
|
+
expectConfirmPasswordHelperText(text: string): Promise<void>;
|
|
1038
1044
|
}
|
|
1039
1045
|
declare class UsersPage extends WithPage {
|
|
1040
1046
|
page: Page;
|
|
@@ -1043,7 +1049,7 @@ declare class UsersPage extends WithPage {
|
|
|
1043
1049
|
constructor(page: Page);
|
|
1044
1050
|
openUsersPage(): Promise<void>;
|
|
1045
1051
|
toggleLoginPermission(username: string): Promise<void>;
|
|
1046
|
-
addUser(): Promise<
|
|
1052
|
+
addUser(): Promise<UserModal>;
|
|
1047
1053
|
createUser(username: string, password: string): Promise<void>;
|
|
1048
1054
|
filterUser(username: string): Promise<void>;
|
|
1049
1055
|
expectToHaveFilteredUser(username: string): Promise<void>;
|
|
@@ -1052,6 +1058,17 @@ declare class UsersPage extends WithPage {
|
|
|
1052
1058
|
openRoles(): Promise<void>;
|
|
1053
1059
|
openPermissions(): Promise<void>;
|
|
1054
1060
|
openTaskAccess(): Promise<void>;
|
|
1061
|
+
expectUsers(users: Array<{
|
|
1062
|
+
email?: string;
|
|
1063
|
+
external: boolean;
|
|
1064
|
+
externalId?: string;
|
|
1065
|
+
fullName?: string;
|
|
1066
|
+
name: string;
|
|
1067
|
+
}>): Promise<void>;
|
|
1068
|
+
expectNoUser(username: string): Promise<void>;
|
|
1069
|
+
updateUser(username: string): Promise<UserModal>;
|
|
1070
|
+
sortByColumn(columnName: string, columnIndex: number): Promise<this>;
|
|
1071
|
+
expectColumnVisible(column: string, visible?: boolean): Promise<this>;
|
|
1055
1072
|
}
|
|
1056
1073
|
declare class WorkflowCatalogPage extends WithPage {
|
|
1057
1074
|
constructor(page: Page);
|
|
@@ -1469,6 +1486,7 @@ declare class RisksPage extends WithPage {
|
|
|
1469
1486
|
filter(filterText: string): Promise<void>;
|
|
1470
1487
|
shouldHaveNVisibleRiskProfiles(numberOfVisibleRiskProfiles: number): Promise<void>;
|
|
1471
1488
|
shouldHaveNewRiskProfileButton(present?: boolean): Promise<void>;
|
|
1489
|
+
closeNotificationBanner(): Promise<void>;
|
|
1472
1490
|
}
|
|
1473
1491
|
declare class RisksProfilePage extends WithPage {
|
|
1474
1492
|
shouldBeEditable(editable: boolean): Promise<void>;
|
|
@@ -1759,6 +1777,7 @@ declare class LoginPage extends WithPage {
|
|
|
1759
1777
|
closePendoModalWindow(): Promise<void>;
|
|
1760
1778
|
expectUserNotVisible(): Promise<void>;
|
|
1761
1779
|
expectUserVisible(): Promise<void>;
|
|
1780
|
+
expectLoginPage(): Promise<void>;
|
|
1762
1781
|
}
|
|
1763
1782
|
interface BaseConfigurationItem {
|
|
1764
1783
|
id: string;
|
|
@@ -1955,6 +1974,9 @@ interface FixtureConfiguration extends PlanItem {
|
|
|
1955
1974
|
interface FixtureCi extends PlanItem {
|
|
1956
1975
|
apiToken?: string;
|
|
1957
1976
|
defaultProfile?: boolean;
|
|
1977
|
+
documentationPage?: string;
|
|
1978
|
+
enabled?: boolean;
|
|
1979
|
+
externalIdLabel?: string;
|
|
1958
1980
|
url?: string;
|
|
1959
1981
|
username?: string;
|
|
1960
1982
|
}
|
|
@@ -2096,6 +2118,7 @@ declare class Fixtures {
|
|
|
2096
2118
|
archivedRelease(release: FixtureRelease): Promise<APIResponse>;
|
|
2097
2119
|
configuration(ci: FixtureConfiguration): Promise<APIResponse>;
|
|
2098
2120
|
ci(ci: FixtureCi): Promise<APIResponse>;
|
|
2121
|
+
deleteCI(id: string): Promise<APIResponse>;
|
|
2099
2122
|
getParentId(id: string): string;
|
|
2100
2123
|
addSystemTeams(teams: Array<FixtureTeam>): Array<FixtureTeam>;
|
|
2101
2124
|
folder(folder: Folder): Promise<APIResponse>;
|
|
@@ -2142,6 +2165,7 @@ declare class Fixtures {
|
|
|
2142
2165
|
addBlackout(name: string, from: Date, to: Date): Promise<APIResponse>;
|
|
2143
2166
|
addUser(username: string, password: string): Promise<void>;
|
|
2144
2167
|
addUserProfile(username: string, profile?: any): Promise<void>;
|
|
2168
|
+
resetAdminProfile(): Promise<APIResponse>;
|
|
2145
2169
|
resetUserProfile(username: string, fullName?: string): Promise<APIResponse>;
|
|
2146
2170
|
updateProfile(profile: {
|
|
2147
2171
|
dateFormat: string;
|