fix start process testing (#5774)

This commit is contained in:
Eugenio Romano
2020-06-12 18:41:40 +01:00
committed by GitHub
parent fec1b813e6
commit 6a20a7acef

View File

@@ -46,7 +46,6 @@ export class StartProcessCloudPage {
}
async enterProcessName(name: string): Promise<void> {
await BrowserVisibility.waitUntilElementIsVisible(this.processNameInput);
await BrowserActions.clearSendKeys(this.processNameInput, name);
}
@@ -111,9 +110,8 @@ export class StartProcessCloudPage {
}
async startProcessWithProcessDefinition(processName: string, processDefinition: string) {
await this.clearField(this.processNameInput);
await this.enterProcessName(processName);
await this.selectFromProcessDropdown(processDefinition);
await this.enterProcessName(processName);
await this.checkStartProcessButtonIsEnabled();
await this.clickStartProcessButton();
}