SDA-3900 Third-party browser login (#1701)

* SDA-3901 (Add new implementation for welcome screen) (#1519)

* SDA-3901 - Add new welcome screen

* SDA-3901 - Change to global config

* SDA-3901 - Add locale

* SDA-3901 - Reposition protocol handling

* SDA-3901 - Fix protocol handler

* SDA-3901 - Fix protocol handler

* SDA-3901 - Fix welcome screen load

* SDA-3901 - Fix seamless login url

* SDA-3901 - Validate if pod is configured for SSO

* SDA-3900 Several bug fix

* SDA-3900 Ability to enable third-party browser login via command line install

* SDA-3900 Typo fix

---------

Co-authored-by: Kiran Niranjan <kiran.niranjan@symphony.com>
This commit is contained in:
Salah Benmoussati
2023-02-08 09:14:17 +01:00
committed by GitHub
parent 2fd56a08ef
commit 33664a8410
24 changed files with 815 additions and 164 deletions

View File

@@ -12,6 +12,14 @@ jest.mock('../src/common/utils', () => {
};
});
jest.mock('../src/app/window-handler', () => {
return {
windowHandler: {
url: '',
},
};
});
jest.mock('../src/common/env', () => {
return {
isWindowsOS: false,
@@ -34,6 +42,14 @@ jest.mock('../src/common/logger', () => {
};
});
jest.mock('../src/app/config-handler', () => {
return {
config: {
getUserConfigFields: jest.fn(() => ''),
},
};
});
describe('protocol handler', () => {
let protocolHandlerInstance;