mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
fix start process testing (#5774)
This commit is contained in:
@@ -46,7 +46,6 @@ export class StartProcessCloudPage {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async enterProcessName(name: string): Promise<void> {
|
async enterProcessName(name: string): Promise<void> {
|
||||||
await BrowserVisibility.waitUntilElementIsVisible(this.processNameInput);
|
|
||||||
await BrowserActions.clearSendKeys(this.processNameInput, name);
|
await BrowserActions.clearSendKeys(this.processNameInput, name);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -111,9 +110,8 @@ export class StartProcessCloudPage {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async startProcessWithProcessDefinition(processName: string, processDefinition: string) {
|
async startProcessWithProcessDefinition(processName: string, processDefinition: string) {
|
||||||
await this.clearField(this.processNameInput);
|
|
||||||
await this.enterProcessName(processName);
|
|
||||||
await this.selectFromProcessDropdown(processDefinition);
|
await this.selectFromProcessDropdown(processDefinition);
|
||||||
|
await this.enterProcessName(processName);
|
||||||
await this.checkStartProcessButtonIsEnabled();
|
await this.checkStartProcessButtonIsEnabled();
|
||||||
await this.clickStartProcessButton();
|
await this.clickStartProcessButton();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user