mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
[AAE-11275] - e2e protractor - remove sleep step (#7944)
* [AAE-11275] - remove sleep step * trigger travis
This commit is contained in:
parent
d1c82edb9d
commit
26c1431815
@ -70,13 +70,18 @@ export class StartProcessPage {
|
|||||||
try {
|
try {
|
||||||
await this.clickProcessDropdownArrow();
|
await this.clickProcessDropdownArrow();
|
||||||
await this.selectProcessOption(name);
|
await this.selectProcessOption(name);
|
||||||
await browser.sleep(500);
|
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
if (retry < 3) {
|
if (retry < 3) {
|
||||||
retry++;
|
retry++;
|
||||||
await this.selectFromProcessDropdown(name, retry);
|
await this.selectFromProcessDropdown(name, retry);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
try {
|
||||||
|
await BrowserVisibility.waitUntilElementIsVisible($('.mat-card-content'), 2000);
|
||||||
|
} catch (error) {
|
||||||
|
Logger.log(`No start form on process`);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
async selectFromApplicationDropdown(name): Promise<void> {
|
async selectFromApplicationDropdown(name): Promise<void> {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user