Merge pull request #5315 from Alfresco/dev-crisj-ADF-840

[AAE-840]Add method to start a process knowing the name and the processDefinition
This commit is contained in:
mergify[bot]
2019-12-09 12:25:21 +00:00
committed by GitHub

View File

@@ -110,6 +110,14 @@ export class StartProcessCloudPage {
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 {
return new FormFields();
}