mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Fixed floating promise (#6337)
Co-authored-by: Vito Albano <vitoalbano@vitoalbano-mbp-0120.local>
This commit is contained in:
@@ -36,7 +36,7 @@ export class BrowserActions {
|
|||||||
await this.click(elementToClick);
|
await this.click(elementToClick);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
BrowserVisibility.waitUntilElementIsVisible(elementToFind);
|
await BrowserVisibility.waitUntilElementIsVisible(elementToFind);
|
||||||
return true;
|
return true;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
return false;
|
return false;
|
||||||
|
Reference in New Issue
Block a user