mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Add method to start a process knowing the name and the processDefinition
This commit is contained in:
@@ -110,6 +110,14 @@ export class StartProcessCloudPage {
|
|||||||
await BrowserActions.clearWithBackSpace(locator);
|
await BrowserActions.clearWithBackSpace(locator);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
async startProcessWithProcessDefinition(processName: string, processDefinition: string) {
|
||||||
|
await this.clearField(this.processNameInput);
|
||||||
|
await this.enterProcessName(processName);
|
||||||
|
await this.selectFromProcessDropdown(processDefinition);
|
||||||
|
await this.checkStartProcessButtonIsEnabled();
|
||||||
|
await this.clickStartProcessButton();
|
||||||
|
}
|
||||||
|
|
||||||
formFields(): FormFields {
|
formFields(): FormFields {
|
||||||
return new FormFields();
|
return new FormFields();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user