mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ACA-3689] Update edit-process-filter-cloud-component PO (#6176)
Add process definition name selection
This commit is contained in:
@@ -32,11 +32,13 @@ export class EditProcessFilterCloudComponentPage {
|
||||
private locatorStatusDropdown = element(by.css(`mat-select[data-automation-id='adf-cloud-edit-process-property-status']`));
|
||||
private locatorSortDropdown = element(by.css(`mat-select[data-automation-id='adf-cloud-edit-process-property-sort']`));
|
||||
private locatorOrderDropdown = element(by.css(`mat-select[data-automation-id='adf-cloud-edit-process-property-order']`));
|
||||
private locatorProcessDefinitionNameDropdown = element(by.css(`mat-select[data-automation-id='adf-cloud-edit-process-property-processDefinitionName']`));
|
||||
|
||||
appNameDropdown = new DropdownPage(this.locatorAppNameDropdown);
|
||||
statusDropdown = new DropdownPage(this.locatorStatusDropdown);
|
||||
sortDropdown = new DropdownPage(this.locatorSortDropdown);
|
||||
orderDropdown = new DropdownPage(this.locatorOrderDropdown);
|
||||
processDefinitionNameDropdown = new DropdownPage(this.locatorProcessDefinitionNameDropdown);
|
||||
|
||||
editProcessFilterDialogPage = new EditProcessFilterDialogPage();
|
||||
|
||||
@@ -90,6 +92,10 @@ export class EditProcessFilterCloudComponentPage {
|
||||
await this.appNameDropdown.selectDropdownOption(option);
|
||||
}
|
||||
|
||||
async setProcessDefinitionNameDropDown(option: string): Promise<void> {
|
||||
await this.processDefinitionNameDropdown.selectDropdownOption(option);
|
||||
}
|
||||
|
||||
async getApplicationSelected(): Promise<string> {
|
||||
const applicationDropdown = element(by.css(`[data-automation-id='adf-cloud-edit-process-property-appName']`));
|
||||
return applicationDropdown.getText();
|
||||
|
Reference in New Issue
Block a user