* create after e2e and before e2e script

* permission test exclude

* flaky exclude

* fix

* chmod permission

* modify check cs

* fix

* execute

* fix

* fix
This commit is contained in:
Eugenio Romano
2020-11-16 00:49:10 +00:00
committed by GitHub
parent d36fd9d5f1
commit ababde3760
42 changed files with 152 additions and 130 deletions

View File

@@ -113,7 +113,7 @@ describe('Aspect oriented config', () => {
}
}));
await navigationBarPage.clickContentServicesButton();
await navigationBarPage.navigateToContentServices();
await viewerPage.viewFile(pngFileModel.name);
await viewerPage.clickInfoButton();
@@ -143,7 +143,7 @@ describe('Aspect oriented config', () => {
}
}));
await navigationBarPage.clickContentServicesButton();
await navigationBarPage.navigateToContentServices();
await viewerPage.viewFile(pngFileModel.name);
await viewerPage.clickInfoButton();
@@ -161,7 +161,7 @@ describe('Aspect oriented config', () => {
it('[C260183] Should show all the aspect if the content-metadata configuration is NOT provided', async () => {
await LocalStorageUtil.setConfigField('content-metadata', '{}');
await navigationBarPage.clickContentServicesButton();
await navigationBarPage.navigateToContentServices();
await viewerPage.viewFile(pngFileModel.name);
await viewerPage.clickInfoButton();
@@ -182,7 +182,7 @@ describe('Aspect oriented config', () => {
}
}));
await navigationBarPage.clickContentServicesButton();
await navigationBarPage.navigateToContentServices();
await viewerPage.viewFile(pngFileModel.name);
await viewerPage.clickInfoButton();
@@ -222,7 +222,7 @@ describe('Aspect oriented config', () => {
' }' +
'}');
await navigationBarPage.clickContentServicesButton();
await navigationBarPage.navigateToContentServices();
await viewerPage.viewFile(pngFileModel.name);
await viewerPage.clickInfoButton();
@@ -249,7 +249,7 @@ describe('Aspect oriented config', () => {
' }' +
'}');
await navigationBarPage.clickContentServicesButton();
await navigationBarPage.navigateToContentServices();
await viewerPage.viewFile(pngFileModel.name);
await viewerPage.clickInfoButton();
@@ -276,7 +276,7 @@ describe('Aspect oriented config', () => {
' }' +
'}');
await navigationBarPage.clickContentServicesButton();
await navigationBarPage.navigateToContentServices();
await viewerPage.viewFile(pngFileModel.name);
await viewerPage.clickInfoButton();
@@ -298,7 +298,7 @@ describe('Aspect oriented config', () => {
' }' +
'}');
await navigationBarPage.clickContentServicesButton();
await navigationBarPage.navigateToContentServices();
await viewerPage.viewFile(pngFileModel.name);
await viewerPage.clickInfoButton();

View File

@@ -74,7 +74,7 @@ describe('CardView Component - properties', () => {
await loginPage.login(acsUser.email, acsUser.password);
await navigationBarPage.clickContentServicesButton();
await navigationBarPage.navigateToContentServices();
await contentServicesPage.waitForTableBody();
});

View File

@@ -83,7 +83,7 @@ describe('Metadata component', () => {
describe('Viewer Metadata', () => {
beforeAll(async () => {
await loginPage.login(acsUser.email, acsUser.password);
await navigationBarPage.clickContentServicesButton();
await navigationBarPage.navigateToContentServices();
await contentServicesPage.waitForTableBody();
await LocalStorageUtil.setConfigField('content-metadata', JSON.stringify({
presets: {
@@ -230,7 +230,7 @@ describe('Metadata component', () => {
await uploadActions.createFolder(folderName, '-my-');
await loginPage.login(acsUser.email, acsUser.password);
await navigationBarPage.clickContentServicesButton();
await navigationBarPage.navigateToContentServices();
await contentServicesPage.waitForTableBody();
});
@@ -280,7 +280,7 @@ describe('Metadata component', () => {
await expect(await metadataViewPage.getPropertyText('properties.cm:description')).toEqual('check author example description');
await loginPage.login(acsUser.email, acsUser.password);
await navigationBarPage.clickContentServicesButton();
await navigationBarPage.navigateToContentServices();
await viewerPage.viewFile(pngFileModel.name);
await viewerPage.checkFileIsLoaded();