mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04: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 { DropdownPage } from '../../core/pages/material/dropdown.page';
|
||||||
import { DataTableComponentPage } from '../../core/pages/data-table-component.page';
|
import { DataTableComponentPage } from '../../core/pages/data-table-component.page';
|
||||||
import { PeopleCloudComponentPage } from './people-cloud-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';
|
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 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 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 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);
|
appNameDropdown = new DropdownPage(this.locatorAppNameDropdown);
|
||||||
statusDropdown = new DropdownPage(this.locatorStatusDropdown);
|
statusDropdown = new DropdownPage(this.locatorStatusDropdown);
|
||||||
@ -55,9 +57,11 @@ export class EditTaskFilterCloudComponentPage {
|
|||||||
priorityDropdown = new DropdownPage(this.priority);
|
priorityDropdown = new DropdownPage(this.priority);
|
||||||
orderDropdown = new DropdownPage(this.locatorOrderDropdown);
|
orderDropdown = new DropdownPage(this.locatorOrderDropdown);
|
||||||
completedDateDropdown = new DropdownPage(this.locatorCompletedDateDropdown);
|
completedDateDropdown = new DropdownPage(this.locatorCompletedDateDropdown);
|
||||||
|
assignmentDropdown = new DropdownPage(this.locatorAssignmentDropdown);
|
||||||
|
|
||||||
editTaskFilterDialogPage = new EditTaskFilterDialogPage();
|
editTaskFilterDialogPage = new EditTaskFilterDialogPage();
|
||||||
peopleCloudComponent = new PeopleCloudComponentPage();
|
peopleCloudComponent = new PeopleCloudComponentPage();
|
||||||
|
groupCloudComponent = new GroupCloudComponentPage();
|
||||||
|
|
||||||
dataTable = new DataTableComponentPage( element(by.css('adf-cloud-task-list')));
|
dataTable = new DataTableComponentPage( element(by.css('adf-cloud-task-list')));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user