mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[ADF-4849] [APM-1226] - Automate boolean and number visibility conditions (#5043)
* [ADF-4849] [APM-1226] - Automate boolean and number visibility conditions * PR changes * PR changes * fix e2e and update simpleapp
This commit is contained in:
committed by
Eugenio Romano
parent
7698fb8edb
commit
d02d79c771
@@ -79,7 +79,7 @@ export class StartProcessPage {
|
||||
}
|
||||
|
||||
async selectOption(name): Promise<void> {
|
||||
const selectProcessDropdown: ElementFinder = element(by.cssContainingText('.mat-option-text', name));
|
||||
const selectProcessDropdown: ElementFinder = element(by.xpath(`//mat-option/child::span [text() = ' ${name} ']`));
|
||||
await BrowserActions.click(selectProcessDropdown);
|
||||
}
|
||||
|
||||
@@ -99,6 +99,7 @@ export class StartProcessPage {
|
||||
}
|
||||
|
||||
async clickFormStartProcessButton(): Promise<void> {
|
||||
await BrowserVisibility.waitUntilElementIsClickable(this.formStartProcessButton);
|
||||
await BrowserActions.click(this.formStartProcessButton);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user