mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2026-09-09 18:02:54 +00:00
[ACA-1970] extension fixes (#780)
* cleanup extension settings * remove header demo and update schema * move card view to separate demo extension * update to ADF 2.6.1
This commit is contained in:
@@ -62,7 +62,7 @@ describe('Extensions - Context submenu', () => {
|
||||
folderId = (await apis.user.nodes.createFolder(folder)).entry.id;
|
||||
|
||||
await loginPage.load();
|
||||
await Utils.setSessionStorageFromConfig('"aca.extension.config"', EXTENSIBILITY_CONFIGS.CONTEXT_SUBMENUS);
|
||||
await Utils.setSessionStorageFromConfig(EXTENSIBILITY_CONFIGS.CONTEXT_SUBMENUS);
|
||||
await loginPage.loginWith(username);
|
||||
|
||||
done();
|
||||
|
||||
@@ -71,7 +71,7 @@ describe('Extensions - DocumentList presets', () => {
|
||||
fileId = (await apis.user.nodes.createFile(file)).entry.id;
|
||||
|
||||
await loginPage.load();
|
||||
await Utils.setSessionStorageFromConfig('"aca.extension.config"', EXTENSIBILITY_CONFIGS.DOCUMENT_LIST_PRESETS);
|
||||
await Utils.setSessionStorageFromConfig(EXTENSIBILITY_CONFIGS.DOCUMENT_LIST_PRESETS);
|
||||
await loginPage.loginWith(username);
|
||||
|
||||
done();
|
||||
|
||||
@@ -60,7 +60,7 @@ describe('Extensions - Info Drawer', () => {
|
||||
beforeAll(async (done) => {
|
||||
await apis.admin.people.createUser({ username });
|
||||
await loginPage.load();
|
||||
await Utils.setSessionStorageFromConfig('"aca.extension.config"', EXTENSIBILITY_CONFIGS.HEADER);
|
||||
await Utils.setSessionStorageFromConfig(EXTENSIBILITY_CONFIGS.HEADER);
|
||||
await loginPage.loginWith(username);
|
||||
done();
|
||||
});
|
||||
|
||||
@@ -81,7 +81,7 @@ describe('Extensions - Info Drawer', () => {
|
||||
describe('', () => {
|
||||
beforeAll(async (done) => {
|
||||
await loginPage.load();
|
||||
await Utils.setSessionStorageFromConfig('"aca.extension.config"', EXTENSIBILITY_CONFIGS.INFO_DRAWER);
|
||||
await Utils.setSessionStorageFromConfig(EXTENSIBILITY_CONFIGS.INFO_DRAWER);
|
||||
await loginPage.loginWith(username);
|
||||
done();
|
||||
});
|
||||
@@ -142,7 +142,7 @@ describe('Extensions - Info Drawer', () => {
|
||||
describe('', () => {
|
||||
beforeAll(async (done) => {
|
||||
await loginPage.load();
|
||||
await Utils.setSessionStorageFromConfig('"aca.extension.config"', EXTENSIBILITY_CONFIGS.INFO_DRAWER_EMPTY);
|
||||
await Utils.setSessionStorageFromConfig(EXTENSIBILITY_CONFIGS.INFO_DRAWER_EMPTY);
|
||||
await loginPage.loginWith(username);
|
||||
await page.clickPersonalFilesAndWait();
|
||||
done();
|
||||
|
||||
@@ -73,7 +73,7 @@ describe('Extensions - Metadata presets', () => {
|
||||
fileId = (await apis.user.nodes.createImage(file)).entry.id;
|
||||
|
||||
await loginPage.load();
|
||||
await Utils.setSessionStorageFromConfig('"aca.extension.config"', EXTENSIBILITY_CONFIGS.METADATA_PRESETS);
|
||||
await Utils.setSessionStorageFromConfig(EXTENSIBILITY_CONFIGS.METADATA_PRESETS);
|
||||
await loginPage.loginWith(username);
|
||||
|
||||
done();
|
||||
|
||||
@@ -83,7 +83,7 @@ describe('Extensions - Viewer', () => {
|
||||
docxFileId = (await apis.user.upload.uploadFile(docxFile.file_name)).entry.id;
|
||||
|
||||
await loginPage.load();
|
||||
await Utils.setSessionStorageFromConfig('"aca.extension.config"', EXTENSIBILITY_CONFIGS.VIEWER);
|
||||
await Utils.setSessionStorageFromConfig(EXTENSIBILITY_CONFIGS.VIEWER);
|
||||
await loginPage.loginWith(username);
|
||||
done();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user