mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-4909] e2e - Move the resources as part of protractor params (#5086)
* Move the resources as part of protractor params * Revert replace mistakes * Remove the resources imports * fix resources import
This commit is contained in:
committed by
Eugenio Romano
parent
6860ab73ab
commit
3fc9390666
@@ -26,7 +26,6 @@ import {
|
||||
} from '@alfresco/adf-testing';
|
||||
import { AppListCloudPage } from '@alfresco/adf-testing';
|
||||
import { NavigationBarPage } from '../pages/adf/navigationBarPage';
|
||||
import resources = require('../util/resources');
|
||||
|
||||
describe('Applications list', () => {
|
||||
|
||||
@@ -34,7 +33,7 @@ describe('Applications list', () => {
|
||||
const navigationBarPage = new NavigationBarPage();
|
||||
const settingsPage = new SettingsPage();
|
||||
const appListCloudPage = new AppListCloudPage();
|
||||
const simpleApp = resources.ACTIVITI7_APPS.SIMPLE_APP.name;
|
||||
const simpleApp = browser.params.resources.ACTIVITI7_APPS.SIMPLE_APP.name;
|
||||
let identityService: IdentityService;
|
||||
let applicationsService: ApplicationsService;
|
||||
let testUser;
|
||||
@@ -83,8 +82,8 @@ describe('Applications list', () => {
|
||||
await appListCloudPage.checkApsContainer();
|
||||
|
||||
await appListCloudPage.checkAppIsDisplayed(simpleApp);
|
||||
await appListCloudPage.checkAppIsDisplayed(resources.ACTIVITI7_APPS.CANDIDATE_BASE_APP.name);
|
||||
await appListCloudPage.checkAppIsDisplayed(resources.ACTIVITI7_APPS.SUB_PROCESS_APP.name);
|
||||
await appListCloudPage.checkAppIsDisplayed(browser.params.resources.ACTIVITI7_APPS.CANDIDATE_BASE_APP.name);
|
||||
await appListCloudPage.checkAppIsDisplayed(browser.params.resources.ACTIVITI7_APPS.SUB_PROCESS_APP.name);
|
||||
|
||||
await expect(await appListCloudPage.countAllApps()).toEqual(3);
|
||||
});
|
||||
|
Reference in New Issue
Block a user