remove not needed spaces (#5495)

* remove not usefull spaces

* increase timeout

* increase timeout

* fix
This commit is contained in:
Eugenio Romano
2020-02-23 17:00:16 +00:00
committed by GitHub
parent 9e0e2bdfa6
commit 2d0b571875
302 changed files with 378 additions and 1245 deletions

View File

@@ -77,8 +77,7 @@ describe('Aspect oriented config', () => {
aspects.entry.aspectNames.push(defaultModel.concat(':', defaultEmptyPropertiesAspect));
await this.alfrescoJsApi.core.nodesApi.updateNode(uploadedFile.entry.id, { aspectNames: aspects.entry.aspectNames });
});
});
afterAll(async () => {
await navigationBarPage.clickLogoutButton();
@@ -87,8 +86,7 @@ describe('Aspect oriented config', () => {
afterEach(async () => {
await viewerPage.clickCloseButton();
await contentServicesPage.checkAcsContainer();
});
});
it('[C261117] Should be possible restrict the display properties of one an aspect', async () => {
@@ -240,8 +238,7 @@ describe('Aspect oriented config', () => {
await expect(await metadataViewPage.getMetadataGroupTitle('GROUP-TITLE1-TRANSLATION-KEY')).toBe('CUSTOM TITLE TRANSLATION ONE');
await expect(await metadataViewPage.getMetadataGroupTitle('GROUP-TITLE2-TRANSLATION-KEY')).toBe('CUSTOM TITLE TRANSLATION TWO');
});
});
it('[C279968] Should be possible use a custom preset', async () => {

View File

@@ -88,8 +88,7 @@ describe('permissions', () => {
});
await uploadActions.uploadFile(pngFileModel.location, pngFileModel.name, site.entry.guid);
});
});
afterAll(async () => {
await navigationBarPage.clickLogoutButton();

View File

@@ -74,8 +74,7 @@ describe('CardView Component - properties', () => {
await navigationBarPage.clickContentServicesButton();
await contentServicesPage.waitForTableBody();
});
});
afterEach(async () => {
await viewerPage.clickCloseButton();
@@ -142,8 +141,7 @@ describe('CardView Component - properties', () => {
await metadataViewPage.checkMetadataGroupIsExpand('EXIF');
await metadataViewPage.checkMetadataGroupIsExpand('properties');
});
});
it('[C280559] Should show/hide the default metadata properties when displayDefaultProperties is true/false', async () => {
await viewerPage.viewFile(pngFileModel.name);

View File

@@ -69,8 +69,7 @@ describe('Metadata component', () => {
const pngUploadedFile = await uploadActions.uploadFile(pngFileModel.location, pngFileModel.name, '-my-');
Object.assign(pngFileModel, pngUploadedFile.entry);
pngFileModel.update(pngUploadedFile.entry);
});
});
afterAll(async () => {
await navigationBarPage.clickLogoutButton();
@@ -237,8 +236,7 @@ describe('Metadata component', () => {
await metadataViewPage.clickUpdatePropertyIcon('properties.exif:fNumber');
await expect(await metadataViewPage.getPropertyText('properties.exif:fNumber')).toEqual('22');
});
});
});
describe('Folder metadata', () => {
@@ -279,8 +277,7 @@ describe('Metadata component', () => {
await metadataViewPage.clickUpdatePropertyIcon('name');
await expect(await metadataViewPage.getPropertyText('name')).toEqual(folderName);
});
});
});
it('[C279960] Should show the last username modifier when modify a File', async () => {
await loginPage.loginToContentServices(browser.params.testConfig.adf.adminEmail, browser.params.testConfig.adf.adminPassword);
@@ -316,5 +313,4 @@ describe('Metadata component', () => {
await viewerPage.clickCloseButton();
await contentServicesPage.waitForTableBody();
});
});