[ADF-5078] Start Task e2e (#5485)

* [ADF-5078] Start Task e2e

* * improved test

* * fixed import
This commit is contained in:
dhrn
2020-02-19 16:13:43 +05:30
committed by GitHub
parent 2f89787b7a
commit c12eee1f59
17 changed files with 289 additions and 255 deletions

View File

@@ -45,7 +45,7 @@ export class TasksPage {
return new StartTaskDialog();
}
async createTask({ name, description, dueDate, formName }): Promise<void> {
async createTask({ name, description = '', dueDate = '', formName = 'None'}): Promise<void> {
await this.clickOnCreateButton();
await BrowserActions.clickExecuteScript('button[data-automation-id="btn-start-task"]');
const dialog = new StartTaskDialog();