@digital-ai/devops-page-object-release 0.0.120 → 1.0.0
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 +6 -0
- package/dist/main.js +116 -27
- package/dist/main.js.map +1 -1
- package/dist/module.js +116 -27
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +19 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -2222,6 +2222,18 @@ declare class TaskAccessPage extends WithPage {
|
|
|
2222
2222
|
constructor(page: Page);
|
|
2223
2223
|
setTaskAvailableToAllUsers(taskName: string, enable?: boolean): Promise<void>;
|
|
2224
2224
|
}
|
|
2225
|
+
declare class AskReleasePage extends WithPage {
|
|
2226
|
+
AskReleaseButton: Locator;
|
|
2227
|
+
constructor(page: Page);
|
|
2228
|
+
clickAskReleaseButton(): Promise<void>;
|
|
2229
|
+
clickNewChatButton(): Promise<void>;
|
|
2230
|
+
clickHistory(): Promise<void>;
|
|
2231
|
+
expectAskReleaseChatWindowToBeOpen(): Promise<void>;
|
|
2232
|
+
expectAskReleaseChatWindowToBeClosed(): Promise<void>;
|
|
2233
|
+
expectCorrectResponse(response: string, timeout?: number): Promise<void>;
|
|
2234
|
+
expectChatInputDrawerToBeEnabled(): Promise<void>;
|
|
2235
|
+
feedYourQuestion(question: string): Promise<void>;
|
|
2236
|
+
}
|
|
2225
2237
|
declare class Navigation {
|
|
2226
2238
|
connections: ConnectionsPage;
|
|
2227
2239
|
dataRandomGenerator: DataRandomGenerator;
|
|
@@ -2252,6 +2264,7 @@ declare class Navigation {
|
|
|
2252
2264
|
util: Util;
|
|
2253
2265
|
workflowCatalogPage: WorkflowCatalogPage;
|
|
2254
2266
|
taskAccessPage: TaskAccessPage;
|
|
2267
|
+
askReleasePage: AskReleasePage;
|
|
2255
2268
|
constructor(page: Page);
|
|
2256
2269
|
openTemplate(id: string): Promise<ReleasePage>;
|
|
2257
2270
|
openFolder(id: string): Promise<FolderPage>;
|
|
@@ -2296,6 +2309,12 @@ declare class LoginPage extends WithPage {
|
|
|
2296
2309
|
* @param password
|
|
2297
2310
|
*/
|
|
2298
2311
|
login(userName: string, password: string): Promise<void>;
|
|
2312
|
+
/**
|
|
2313
|
+
* Login via SaaS (Keycloak SSO) with username and password
|
|
2314
|
+
* @param userName
|
|
2315
|
+
* @param password
|
|
2316
|
+
*/
|
|
2317
|
+
loginSaas(userName: string, password: string): Promise<void>;
|
|
2299
2318
|
loginWithoutReload(userName: string, password: string): Promise<void>;
|
|
2300
2319
|
/**
|
|
2301
2320
|
* Logout as authenticated user
|