From 04a29ebc0508737c1e41f353cc02de7a59b0f1c1 Mon Sep 17 00:00:00 2001 From: Eugenio Romano Date: Wed, 29 Apr 2020 18:20:14 +0100 Subject: [PATCH] APS11 (#5654) modify e2e for 1.11 APS --- e2e/process-services/attach-folder.e2e.ts | 5 +++-- lib/testing/src/lib/core/actions/APS/integration.service.ts | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/e2e/process-services/attach-folder.e2e.ts b/e2e/process-services/attach-folder.e2e.ts index 4086bad93a..8247ebc942 100644 --- a/e2e/process-services/attach-folder.e2e.ts +++ b/e2e/process-services/attach-folder.e2e.ts @@ -54,14 +54,15 @@ describe('Attach Folder', () => { beforeAll(async () => { await this.alfrescoJsApi.login(adminEmail, adminPassword); user = await users.createTenantAndUser(this.alfrescoJsApi); + const acsUser = { ...user, id: user.email }; delete acsUser.type; delete acsUser.tenantId; await this.alfrescoJsApi.core.peopleApi.addPerson(acsUser); - await integrationService.addCSIntegration({ tenantId: user.tenantId, name: 'adf dev', host: browser.params.testConfig.adf_acs }); + await integrationService.addCSIntegration({ tenantId: user.tenantId, name: 'adf dev', host: browser.params.testConfig.adf_acs.host }); await this.alfrescoJsApi.login(user.email, user.password); await applicationService.importPublishDeployApp(app.file_path); await loginPage.loginToAllUsingUserModel(user); - }); + }); afterAll(async () => { await this.alfrescoJsApi.login(adminEmail, adminPassword); diff --git a/lib/testing/src/lib/core/actions/APS/integration.service.ts b/lib/testing/src/lib/core/actions/APS/integration.service.ts index 8ccbf6a794..35642e5f94 100644 --- a/lib/testing/src/lib/core/actions/APS/integration.service.ts +++ b/lib/testing/src/lib/core/actions/APS/integration.service.ts @@ -31,8 +31,8 @@ export class IntegrationService { alfrescoTenantId: '', repositoryUrl: `${host}/alfresco`, shareUrl: `${host}/share`, - version: '4.2', - useShareConnector: false + version: '6.1.1', + authenticationType: 'basic' }; return this.api.activiti.integrationAccountApi.apiClient.callApi('app/rest/integration/alfresco', 'POST', {}, {}, {}, {}, repository, [], [], Object);