mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Test improve 2 (#6167)
* more debug log * fix * next chrome * fix favorite * fix * Fix spelling * fix Co-authored-by: Adina Parpalita <adina.parpalita@ness.com>
This commit is contained in:
@@ -180,12 +180,13 @@ export class NavigationBarPage {
|
||||
|
||||
async clickLogoutButton(): Promise<void> {
|
||||
Logger.log('Logout');
|
||||
await BrowserActions.closeMenuAndDialogs();
|
||||
await BrowserActions.clickExecuteScript('.app-sidenav-link[adf-logout]');
|
||||
|
||||
try {
|
||||
await BrowserActions.closeMenuAndDialogs();
|
||||
await BrowserActions.clickExecuteScript('.app-sidenav-link[adf-logout]');
|
||||
|
||||
await BrowserVisibility.waitUntilElementIsVisible(this.logoutSection);
|
||||
} catch (error) {
|
||||
Logger.log('Logout section NOT found');
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user