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
@@ -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));
|
||||
|
Reference in New Issue
Block a user