mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
remove not needed spaces (#5495)
* remove not usefull spaces * increase timeout * increase timeout * fix
This commit is contained in:
@@ -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 () => {
|
||||
|
||||
|
@@ -88,8 +88,7 @@ describe('permissions', () => {
|
||||
});
|
||||
|
||||
await uploadActions.uploadFile(pngFileModel.location, pngFileModel.name, site.entry.guid);
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
afterAll(async () => {
|
||||
await navigationBarPage.clickLogoutButton();
|
||||
|
@@ -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);
|
||||
|
@@ -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();
|
||||
});
|
||||
|
||||
});
|
||||
|
Reference in New Issue
Block a user