[ADF-5247] always enabled language picker (via extensions) (#1730)

* always enabled language picker

* fix tests

* update e2e tests

* fix aos plugin
This commit is contained in:
Denys Vuika
2020-10-15 08:57:04 +01:00
committed by GitHub
parent cfffde603c
commit 20f1752b48
25 changed files with 49 additions and 238 deletions

View File

@@ -56,10 +56,6 @@ export class Header extends Component {
await this.menu.waitForMenuToClose();
}
async isSignOutDisplayed(): Promise<boolean> {
return this.userInfo.menu.isMenuItemPresent('Sign out');
}
async isSidenavExpanded(): Promise<boolean> {
return browser.isElementPresent(by.css(`[data-automation-id='expanded']`));
}

View File

@@ -36,7 +36,8 @@ export class BrowsingPage extends Page {
pagination = new Pagination(this.appRoot);
async signOut(): Promise<void> {
await this.header.userInfo.signOut();
await this.header.openMoreMenu();
await this.header.menu.clickMenuItem('Sign out');
}
async clickPersonalFiles(): Promise<void> {