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
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginSSOPage } from '@alfresco/adf-testing';
|
||||
import { LoginSSOPage, SettingsPage } from '@alfresco/adf-testing';
|
||||
import { AppListCloudPage, StartProcessCloudPage } from '@alfresco/adf-testing';
|
||||
import { browser } from 'protractor';
|
||||
import { NavigationBarPage } from '../pages/adf/navigationBarPage';
|
||||
@@ -30,6 +30,8 @@ describe('Start Process', () => {
|
||||
const appListCloudComponent = new AppListCloudPage();
|
||||
const processCloudDemoPage = new ProcessCloudDemoPage();
|
||||
const startProcessPage = new StartProcessCloudPage();
|
||||
const settingsPage = new SettingsPage();
|
||||
|
||||
const processName = StringUtil.generateRandomString(10);
|
||||
const processName255Characters = StringUtil.generateRandomString(255);
|
||||
const processNameBiggerThen255Characters = StringUtil.generateRandomString(256);
|
||||
@@ -37,8 +39,11 @@ describe('Start Process', () => {
|
||||
const requiredError = 'Process Name is required';
|
||||
const simpleApp = resources.ACTIVITI7_APPS.SIMPLE_APP.name;
|
||||
|
||||
beforeAll((done) => {
|
||||
browser.get('/');
|
||||
beforeAll(async (done) => {
|
||||
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);
|
||||
|
||||
navigationBarPage.navigateToProcessServicesCloudPage();
|
||||
|
Reference in New Issue
Block a user