[ACA-3689] Update edit-process-filter-cloud-component PO (#6176)

Add process definition name selection
This commit is contained in:
Roxana Diacenco
2020-09-30 13:39:01 +03:00
committed by GitHub
parent f83ea78173
commit 7c1d72994b

View File

@@ -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();