mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-09-17 14:21:29 +00:00
Fix viewer component e2es redirect to SSO page
This commit is contained in:
@@ -16,7 +16,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import { browser } from 'protractor';
|
import { browser } from 'protractor';
|
||||||
import { createApiService, LocalStorageUtil,
|
import { BrowserActions, createApiService, LocalStorageUtil,
|
||||||
LoginPage,
|
LoginPage,
|
||||||
StringUtil,
|
StringUtil,
|
||||||
UploadActions,
|
UploadActions,
|
||||||
@@ -57,6 +57,7 @@ describe('Viewer', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
beforeAll(async () => {
|
beforeAll(async () => {
|
||||||
|
await BrowserActions.getUrl(`${browser.baseUrl}/settings`);
|
||||||
await LocalStorageUtil.setStorageItem('providers', 'ECM');
|
await LocalStorageUtil.setStorageItem('providers', 'ECM');
|
||||||
await LocalStorageUtil.setStorageItem('authType', 'BASIC');
|
await LocalStorageUtil.setStorageItem('authType', 'BASIC');
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user