mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Fix e2e tests dist issue (#4779)
* Fix e2e tests dist issue * Fix linting * Add await to asyncronous function * fix lintint
This commit is contained in:
committed by
Denys Vuika
parent
7f4e301ec0
commit
894a9599a9
@@ -17,7 +17,7 @@
|
||||
|
||||
import { browser } from 'protractor';
|
||||
|
||||
import { ApiService, LoginSSOPage, TasksService } from '@alfresco/adf-testing';
|
||||
import { ApiService, LoginSSOPage, TasksService, SettingsPage } from '@alfresco/adf-testing';
|
||||
import { NavigationBarPage } from '../pages/adf/navigationBarPage';
|
||||
import { TasksCloudDemoPage } from '../pages/adf/demo-shell/process-services/tasksCloudDemoPage';
|
||||
import { AppListCloudPage } from '@alfresco/adf-testing';
|
||||
@@ -31,6 +31,7 @@ describe('Task list cloud - selection', () => {
|
||||
const navigationBarPage = new NavigationBarPage();
|
||||
const appListCloudComponent = new AppListCloudPage();
|
||||
const tasksCloudDemoPage = new TasksCloudDemoPage();
|
||||
const settingsPage = new SettingsPage();
|
||||
|
||||
let tasksService: TasksService;
|
||||
|
||||
@@ -54,7 +55,10 @@ describe('Task list cloud - selection', () => {
|
||||
tasks.push(response.entry.name);
|
||||
}
|
||||
|
||||
browser.get('/');
|
||||
await settingsPage.setProviderBpmSso(
|
||||
browser.params.config.bpmHost,
|
||||
browser.params.config.oauth2.host,
|
||||
browser.params.config.identityHost);
|
||||
loginSSOPage.loginSSOIdentityService(browser.params.identityUser.email, browser.params.identityUser.password);
|
||||
done();
|
||||
});
|
||||
|
Reference in New Issue
Block a user