[ADF-4015] Implementing edit task filter automated tests (#4337)

* Added a few test cases to cover task list and edit task filters cloud components properties.

* Add tests for task name property.

* Add processInstanceId tests

* Added lastModifiedTo and lastModifiedFrom tests.

* Added tests for all the properties

* Add selectionMode tests.

* Add selectionMode tests

* Update task-list-selection.e2e.ts

* [ADF-4015] Fix lint issues

* Using clearField

* Modified selection tests

* Fixing selection tests

* no message

* Fix spelling

* Removed a sleep from the test

* Fix siteListDropDown locator
This commit is contained in:
cristinaj
2019-03-01 09:53:50 +00:00
committed by Eugenio Romano
parent e08bb1ebed
commit 3adc569b0a
11 changed files with 783 additions and 24 deletions
+3 -3
View File
@@ -89,11 +89,11 @@ export class Tasks {
return data;
}
async createStandaloneSubtask(taskId, appName, name) {
const path = '/' + appName + '-rb/v1/tasks/' + taskId + '/subtask';
async createStandaloneSubtask(parentTaskId, appName, name) {
const path = '/' + appName + '-rb/v1/tasks';
const method = 'POST';
const queryParams = {}, postBody = {'name': name, 'payloadType': 'CreateTaskPayload'};
const queryParams = {}, postBody = {'name': name, 'parentTaskId': parentTaskId, 'payloadType': 'CreateTaskPayload'};
const data = await this.api.performBpmOperation(path, method, queryParams, postBody);
return data;