[ACA] e2e remove not needed logoutPage (#772)

* remove not needed logoutPage

* disable back failing check

* fix failing test
This commit is contained in:
Adina Parpalita
2018-11-02 12:37:07 +02:00
committed by Denys Vuika
parent 2c9e68ada7
commit 946e3e2196
50 changed files with 81 additions and 298 deletions

View File

@@ -24,7 +24,7 @@
*/
import { SITE_VISIBILITY, SITE_ROLES } from '../../configs';
import { LoginPage, LogoutPage, BrowsingPage } from '../../pages/pages';
import { LoginPage, BrowsingPage } from '../../pages/pages';
import { Utils } from '../../utilities/utils';
import { RepoClient } from '../../utilities/repo-client/repo-client';
@@ -52,7 +52,6 @@ describe('Trash', () => {
};
const loginPage = new LoginPage();
const logoutPage = new LogoutPage();
const page = new BrowsingPage();
const { dataTable, breadcrumb } = page;
@@ -101,11 +100,6 @@ describe('Trash', () => {
done();
});
afterAll(async (done) => {
await logoutPage.load();
done();
});
it('has the correct columns - [C213217]', async () => {
const labels = [ 'Name', 'Location', 'Size', 'Deleted', 'Deleted by' ];
const elements = labels.map(label => dataTable.getColumnHeaderByLabel(label));
@@ -139,11 +133,6 @@ describe('Trash', () => {
done();
});
afterAll(async (done) => {
await logoutPage.load();
done();
});
it('has the correct columns - [C280494]', async () => {
const labels = [ 'Name', 'Location', 'Size', 'Deleted'];
const elements = labels.map(label => dataTable.getColumnHeaderByLabel(label));