Skip to content

Commit

Permalink
Reenable installation of keycloak module via zip
Browse files Browse the repository at this point in the history
  • Loading branch information
jolelievre committed Apr 12, 2024
1 parent f8ade90 commit abcac8e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import testContext from '@utils/testContext';

import loginCommon from '@commonTests/BO/loginBO';
import {deleteAPIClientTest} from '@commonTests/BO/advancedParameters/authServer';
// import {installModule, uninstallModule} from '@commonTests/BO/modules/moduleManager';
import {installModule, uninstallModule} from '@commonTests/BO/modules/moduleManager';

import dashboardPage from '@pages/BO/dashboard';
import keycloakConnectorDemo from '@pages/BO/modules/keycloakConnectorDemo';
Expand Down Expand Up @@ -66,8 +66,7 @@ describe('API : External Auth Server - Resource Endpoint', async () => {
}
});

// todo: reenable the install by module zip when the new version is released
// installModule(Modules.keycloak, `${baseContext}_preTest_1`);
installModule(Modules.keycloak, `${baseContext}_preTest_1`);

describe('Resource Endpoint', async () => {
it('should login in BO', async function () {
Expand Down Expand Up @@ -233,5 +232,5 @@ describe('API : External Auth Server - Resource Endpoint', async () => {
});

deleteAPIClientTest(`${baseContext}_postTest_0`);
//uninstallModule(Modules.keycloak, `${baseContext}_postTest_1`);
uninstallModule(Modules.keycloak, `${baseContext}_postTest_1`);
});
2 changes: 1 addition & 1 deletion tests/UI/data/demo/modules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,6 @@ export default {
keycloak: new FakerModule({
tag: 'keycloak_connector_demo',
name: 'Keycloak OAuth2 connector demo',
releaseZip: 'https://github.com/PrestaShop/keycloak_connector_demo/releases/download/v1.0.4/keycloak_connector_demo.zip',
releaseZip: 'https://github.com/PrestaShop/keycloak_connector_demo/releases/download/v1.1.0/keycloak_connector_demo.zip',
}),
};

0 comments on commit abcac8e

Please sign in to comment.