mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-31 17:38:28 +00:00
[e2e] new reporter (#906)
* try new reporter * run specific suite for testing purposes * change folder output for report * more report settings * remove fdescribe * remove package and update package-lock * remove disabled tests not needed by the new reporter * try to identify cause of travis failure * run only specific tests for investigation purpose * remove sleep and increase retry delay * try a different fix * revert to previous fix * try different expects * call different js-api method * remove parameter not needed anymore
This commit is contained in:
committed by
Suzana Dirla
parent
7701dbce93
commit
42b5f4b749
@@ -98,8 +98,6 @@ describe('Context menu actions - multiple selection : ', () => {
|
||||
done();
|
||||
});
|
||||
|
||||
xit('');
|
||||
|
||||
describe('Generic tests', () => {
|
||||
beforeEach(async (done) => {
|
||||
await Utils.pressEscape();
|
||||
|
@@ -102,8 +102,6 @@ describe('Context menu actions - single selection : ', () => {
|
||||
done();
|
||||
});
|
||||
|
||||
xit('');
|
||||
|
||||
describe('Generic tests', () => {
|
||||
beforeEach(async (done) => {
|
||||
await Utils.pressEscape();
|
||||
|
@@ -555,6 +555,4 @@ describe('Copy', () => {
|
||||
});
|
||||
});
|
||||
|
||||
xit('');
|
||||
|
||||
});
|
||||
|
@@ -263,5 +263,4 @@ describe('Create folder', () => {
|
||||
});
|
||||
});
|
||||
|
||||
xit('');
|
||||
});
|
||||
|
@@ -49,8 +49,6 @@ describe('Delete and undo delete', () => {
|
||||
done();
|
||||
});
|
||||
|
||||
xit('');
|
||||
|
||||
describe('on Personal Files', () => {
|
||||
const file1 = `file1-${Utils.random()}.txt`;
|
||||
const file2 = `file2-${Utils.random()}.txt`;
|
||||
|
@@ -89,8 +89,6 @@ describe('Mark items as favorites', () => {
|
||||
done();
|
||||
});
|
||||
|
||||
xit('');
|
||||
|
||||
describe('on Personal Files', () => {
|
||||
afterAll(async (done) => {
|
||||
await apis.user.favorites.addFavoritesByIds('file', [ fileFavUIId, fileFav1Id, fileFav2Id, fileFav3Id, fileFav4Id ]);
|
||||
|
@@ -52,8 +52,6 @@ describe('Restore from Trash', () => {
|
||||
done();
|
||||
});
|
||||
|
||||
xit('');
|
||||
|
||||
describe('successful restore', () => {
|
||||
const file = `file-${Utils.random()}.txt`; let fileId;
|
||||
const folder = `folder-${Utils.random()}`; let folderId;
|
||||
|
@@ -1011,6 +1011,4 @@ describe('Share a file', () => {
|
||||
});
|
||||
});
|
||||
|
||||
xit('');
|
||||
|
||||
});
|
||||
|
@@ -103,8 +103,6 @@ describe('Granular permissions available actions : ', () => {
|
||||
done();
|
||||
});
|
||||
|
||||
xit('');
|
||||
|
||||
describe('toolbar displays correct actions when selecting multiple files with different granular permissions', () => {
|
||||
beforeEach(async (done) => {
|
||||
await Utils.pressEscape();
|
||||
|
@@ -111,8 +111,6 @@ describe('Toolbar actions - multiple selection : ', () => {
|
||||
done();
|
||||
});
|
||||
|
||||
xit('');
|
||||
|
||||
describe('on Personal Files', () => {
|
||||
beforeEach(async (done) => {
|
||||
await Utils.pressEscape();
|
||||
|
@@ -101,8 +101,6 @@ describe('Toolbar actions - single selection : ', () => {
|
||||
done();
|
||||
});
|
||||
|
||||
xit('');
|
||||
|
||||
describe('on Personal Files', () => {
|
||||
beforeEach(async (done) => {
|
||||
await Utils.pressEscape();
|
||||
|
@@ -795,5 +795,4 @@ describe('Unshare a file', () => {
|
||||
});
|
||||
});
|
||||
|
||||
xit('');
|
||||
});
|
||||
|
@@ -37,7 +37,6 @@ describe('General', () => {
|
||||
const { nodes: nodesApi, authentication: authApi } = adminApi;
|
||||
const folder = `folder-${Utils.random()}`;
|
||||
let folderId;
|
||||
xit('');
|
||||
|
||||
describe('on session expire', () => {
|
||||
beforeAll(async (done) => {
|
||||
|
@@ -37,8 +37,6 @@ describe('Page titles', () => {
|
||||
const file = `file-${Utils.random()}.txt`; let fileId;
|
||||
const { searchInput } = page.header;
|
||||
|
||||
xit('');
|
||||
|
||||
describe('on Login / Logout pages', () => {
|
||||
it('on Login page - [C217155]', async () => {
|
||||
await loginPage.load();
|
||||
|
@@ -74,8 +74,6 @@ describe('Login', () => {
|
||||
done();
|
||||
});
|
||||
|
||||
xit('');
|
||||
|
||||
describe('general tests', () => {
|
||||
beforeEach(async (done) => {
|
||||
await loginPage.load();
|
||||
|
@@ -157,6 +157,4 @@ describe('Extensions - Info Drawer', () => {
|
||||
});
|
||||
});
|
||||
|
||||
xit('');
|
||||
|
||||
});
|
||||
|
@@ -103,8 +103,6 @@ describe('Extensions - Viewer', () => {
|
||||
done();
|
||||
});
|
||||
|
||||
xit('');
|
||||
|
||||
describe('content', () => {
|
||||
it('Insert new component in a content viewer - [C284659]', async () => {
|
||||
await page.dataTable.doubleClickOnRowByName(pdfFile.file_name);
|
||||
|
@@ -96,8 +96,6 @@ describe('File Libraries', () => {
|
||||
done();
|
||||
});
|
||||
|
||||
xit('');
|
||||
|
||||
describe('My Libraries', () => {
|
||||
beforeEach(async (done) => {
|
||||
await page.goToMyLibrariesAndWait();
|
||||
|
@@ -41,8 +41,6 @@ describe('Special permissions', () => {
|
||||
const page = new BrowsingPage();
|
||||
const { dataTable } = page;
|
||||
|
||||
xit('');
|
||||
|
||||
beforeAll(async (done) => {
|
||||
await apis.admin.people.createUser({ username });
|
||||
done();
|
||||
|
@@ -65,8 +65,6 @@ describe('Personal Files', () => {
|
||||
done();
|
||||
});
|
||||
|
||||
xit('');
|
||||
|
||||
describe(`Admin user's personal files`, () => {
|
||||
beforeAll(async (done) => {
|
||||
await loginPage.loginWithAdmin();
|
||||
|
@@ -85,8 +85,6 @@ describe('File / folder tooltips', () => {
|
||||
done();
|
||||
});
|
||||
|
||||
xit('');
|
||||
|
||||
describe('on Personal Files', () => {
|
||||
beforeAll(async (done) => {
|
||||
await page.clickPersonalFilesAndWait();
|
||||
|
@@ -87,8 +87,6 @@ describe('Trash', () => {
|
||||
done();
|
||||
});
|
||||
|
||||
xit('');
|
||||
|
||||
describe('as admin', () => {
|
||||
beforeAll(async (done) => {
|
||||
await loginPage.loginWithAdmin();
|
||||
|
@@ -58,8 +58,6 @@ describe('Viewer actions', () => {
|
||||
done();
|
||||
});
|
||||
|
||||
xit('');
|
||||
|
||||
describe('on Personal Files', () => {
|
||||
const parent = `parentPF-${Utils.random()}`; let parentId;
|
||||
const destination = `destPF-${Utils.random()}`; let destinationId;
|
||||
|
@@ -96,7 +96,7 @@ export class FavoritesApi extends RepoApi {
|
||||
let isFavorite;
|
||||
try {
|
||||
const favorite = async () => {
|
||||
isFavorite = JSON.stringify((await this.getFavorites()).list.entries).includes(nodeId);
|
||||
isFavorite = await this.isFavorite(nodeId);
|
||||
if ( isFavorite !== data.expect ) {
|
||||
return Promise.reject(isFavorite);
|
||||
} else {
|
||||
@@ -114,7 +114,7 @@ export class FavoritesApi extends RepoApi {
|
||||
async removeFavoriteById(nodeId: string) {
|
||||
await this.apiAuth();
|
||||
try {
|
||||
return await this.favoritesApi.deleteSiteFavorite('-me-', nodeId);
|
||||
return await this.favoritesApi.deleteFavorite('-me-', nodeId);
|
||||
} catch (error) {
|
||||
// console.log('--- remove favorite by id catch ');
|
||||
}
|
||||
|
Reference in New Issue
Block a user