mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
[ACS-1129]fix signOut method to work for SSO as well
This commit is contained in:
@@ -26,8 +26,8 @@
|
||||
import { Header, DataTable, Pagination, Toolbar, Breadcrumb, Sidenav } from '../components/components';
|
||||
import { SIDEBAR_LABELS } from './../configs';
|
||||
import { Page } from './page';
|
||||
import { waitForPresence } from './../utilities/utils';
|
||||
import { LoginPage } from './login-page';
|
||||
import { BrowserVisibility } from '@alfresco/adf-testing';
|
||||
import { browser, by } from 'protractor';
|
||||
|
||||
export class BrowsingPage extends Page {
|
||||
header = new Header(this.appRoot);
|
||||
@@ -40,7 +40,7 @@ export class BrowsingPage extends Page {
|
||||
async signOut(): Promise<void> {
|
||||
await this.header.openMoreMenu();
|
||||
await this.header.menu.clickMenuItem('Sign out');
|
||||
await waitForPresence(new LoginPage().login.submitButton);
|
||||
await BrowserVisibility.waitUntilElementIsPresent(browser.element(by.css('[class*="login-content"] input#username')));
|
||||
}
|
||||
|
||||
async clickPersonalFiles(): Promise<void> {
|
||||
|
Reference in New Issue
Block a user