mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
[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:
committed by
Eugenio Romano
parent
e08bb1ebed
commit
3adc569b0a
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user