mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-4259] ClientId shouldn't be in the config file (#4930)
* add delete users missing in ps cloud e2e * clientId use config param * Update test.config.js
This commit is contained in:
@@ -29,7 +29,7 @@ describe('User Info - SSO', () => {
|
||||
let identityService: IdentityService;
|
||||
|
||||
beforeAll(async (done) => {
|
||||
const apiService = new ApiService('alfresco', browser.params.testConfig.adf.url, browser.params.testConfig.adf.hostSso, 'ECM');
|
||||
const apiService = new ApiService(browser.params.config.oauth2.clientId, browser.params.testConfig.adf.url, browser.params.testConfig.adf.hostSso, 'ECM');
|
||||
await apiService.login(browser.params.testConfig.adf.adminEmail, browser.params.testConfig.adf.adminPassword);
|
||||
|
||||
identityService = new IdentityService(apiService);
|
||||
@@ -38,7 +38,7 @@ describe('User Info - SSO', () => {
|
||||
silentLogin = false;
|
||||
settingsPage.setProviderEcmSso(browser.params.testConfig.adf.url,
|
||||
browser.params.testConfig.adf.hostSso,
|
||||
browser.params.testConfig.adf.hostIdentity, silentLogin, true, 'alfresco');
|
||||
browser.params.testConfig.adf.hostIdentity, silentLogin, true, browser.params.config.oauth2.clientId);
|
||||
|
||||
loginSSOPage.clickOnSSOButton();
|
||||
|
||||
|
Reference in New Issue
Block a user