mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
[ACA] e2e remove not needed logoutPage (#772)
* remove not needed logoutPage * disable back failing check * fix failing test
This commit is contained in:
committed by
Denys Vuika
parent
2c9e68ada7
commit
946e3e2196
@@ -26,11 +26,10 @@
|
||||
import { browser } from 'protractor';
|
||||
|
||||
import { APP_ROUTES, SIDEBAR_LABELS } from '../../configs';
|
||||
import { LoginPage, LogoutPage, BrowsingPage } from '../../pages/pages';
|
||||
import { LoginPage, BrowsingPage } from '../../pages/pages';
|
||||
|
||||
describe('Sidebar', () => {
|
||||
const loginPage = new LoginPage();
|
||||
const logoutPage = new LogoutPage();
|
||||
const page = new BrowsingPage();
|
||||
const { sidenav } = page;
|
||||
|
||||
@@ -39,11 +38,6 @@ describe('Sidebar', () => {
|
||||
done();
|
||||
});
|
||||
|
||||
afterAll(async (done) => {
|
||||
await logoutPage.load();
|
||||
done();
|
||||
});
|
||||
|
||||
it('has "Personal Files" as default - [C217149]', async () => {
|
||||
expect(await browser.getCurrentUrl()).toContain(APP_ROUTES.PERSONAL_FILES);
|
||||
expect(await sidenav.isActiveByLabel('Personal Files')).toBe(true, 'Active link');
|
||||
|
Reference in New Issue
Block a user