mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +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
@@ -16,7 +16,7 @@
|
||||
*/
|
||||
|
||||
import { browser } from 'protractor';
|
||||
import { LoginSSOPage } from '@alfresco/adf-testing';
|
||||
import { LoginSSOPage, SettingsPage } from '@alfresco/adf-testing';
|
||||
import { AppListCloudPage } from '@alfresco/adf-testing';
|
||||
import { NavigationBarPage } from '../pages/adf/navigationBarPage';
|
||||
import resources = require('../util/resources');
|
||||
@@ -25,11 +25,15 @@ describe('Applications list', () => {
|
||||
|
||||
const loginSSOPage = new LoginSSOPage();
|
||||
const navigationBarPage = new NavigationBarPage();
|
||||
const settingsPage = new SettingsPage();
|
||||
const appListCloudPage = new AppListCloudPage();
|
||||
const simpleApp = resources.ACTIVITI7_APPS.SIMPLE_APP.name;
|
||||
|
||||
beforeAll(async (done) => {
|
||||
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();
|
||||
});
|
||||
@@ -40,5 +44,4 @@ describe('Applications list', () => {
|
||||
appListCloudPage.checkAppIsDisplayed(simpleApp);
|
||||
appListCloudPage.goToApp(simpleApp);
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user