mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-19 17:14:57 +00:00
[ACA-3652] Add Assignment custom filter in task filter cloud component page (#6887)
* [ACA-3652] Add Assignment custom filter in task filter cloud component page * Fix linting error * Remove unused element locator
This commit is contained in:
parent
39255ab02f
commit
cf7ffba81a
@ -22,6 +22,7 @@ import { BrowserActions } from '../../core/utils/browser-actions';
|
||||
import { DropdownPage } from '../../core/pages/material/dropdown.page';
|
||||
import { DataTableComponentPage } from '../../core/pages/data-table-component.page';
|
||||
import { PeopleCloudComponentPage } from './people-cloud-component.page';
|
||||
import { GroupCloudComponentPage } from './group-cloud-component.page';
|
||||
|
||||
export type StatusType = 'All' | 'Created' | 'Assigned' | 'Cancelled' | 'Suspended' | 'Completed';
|
||||
|
||||
@ -48,6 +49,7 @@ export class EditTaskFilterCloudComponentPage {
|
||||
private locatorSortDropdown = element(by.css(`mat-select[data-automation-id='adf-cloud-edit-task-property-sort']`));
|
||||
private locatorOrderDropdown = element(by.css(`mat-select[data-automation-id='adf-cloud-edit-task-property-order']`));
|
||||
private locatorCompletedDateDropdown = element(by.css(`mat-select[data-automation-id="adf-cloud-edit-process-property-completedDateRange"]`));
|
||||
private locatorAssignmentDropdown = element(by.css(`.adf-task-assignment-filter`));
|
||||
|
||||
appNameDropdown = new DropdownPage(this.locatorAppNameDropdown);
|
||||
statusDropdown = new DropdownPage(this.locatorStatusDropdown);
|
||||
@ -55,9 +57,11 @@ export class EditTaskFilterCloudComponentPage {
|
||||
priorityDropdown = new DropdownPage(this.priority);
|
||||
orderDropdown = new DropdownPage(this.locatorOrderDropdown);
|
||||
completedDateDropdown = new DropdownPage(this.locatorCompletedDateDropdown);
|
||||
assignmentDropdown = new DropdownPage(this.locatorAssignmentDropdown);
|
||||
|
||||
editTaskFilterDialogPage = new EditTaskFilterDialogPage();
|
||||
peopleCloudComponent = new PeopleCloudComponentPage();
|
||||
groupCloudComponent = new GroupCloudComponentPage();
|
||||
|
||||
dataTable = new DataTableComponentPage( element(by.css('adf-cloud-task-list')));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user