mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Add methods for form outcome buttons and info for simpleapp process and form (#5310)
This commit is contained in:
committed by
Maurizio Vitale
parent
cc4c9bc567
commit
fcb83b8990
@@ -79,6 +79,18 @@ export class TaskFormCloudComponent {
|
||||
await BrowserActions.click(this.completeButton);
|
||||
}
|
||||
|
||||
async checkFormOutcomeButtonIsDisplayedByName(name: string): Promise<void> {
|
||||
await BrowserVisibility.waitUntilElementIsVisible(element(by.css(`button[id="adf-form-${name}"]`)));
|
||||
}
|
||||
|
||||
async checkFormOutcomeButtonIsNotDisplayedByName(name: string) {
|
||||
await BrowserVisibility.waitUntilElementIsNotVisible(element(by.css(`button[id="adf-form-${name}"]`)));
|
||||
}
|
||||
|
||||
async clickFormOutcomeButtonByName(name: string): Promise<void> {
|
||||
await BrowserActions.click(element(by.css(`button[id="adf-form-${name}"]`)));
|
||||
}
|
||||
|
||||
async clickCancelButton(): Promise<void> {
|
||||
await BrowserActions.click(this.cancelButton);
|
||||
}
|
||||
|
@@ -80,7 +80,8 @@ export const ACTIVITI_CLOUD_APPS: any = {
|
||||
multiinstancesubprocess: 'multiinstance-subprocess',
|
||||
calledprocess: 'calledprocess',
|
||||
booleanvisibilityprocess: 'booleanvisibilityprocess',
|
||||
numbervisibilityprocess: 'numbervisibilityprocess'
|
||||
numbervisibilityprocess: 'numbervisibilityprocess',
|
||||
processformoutcome: 'processformoutcome'
|
||||
},
|
||||
forms: {
|
||||
tabVisibilityFields: {
|
||||
|
Reference in New Issue
Block a user