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
@@ -20,7 +20,6 @@ import { LoginPage, StringUtil, UploadActions } from '@alfresco/adf-testing';
|
||||
import { ViewerPage } from '../../../pages/adf/viewerPage';
|
||||
import { ContentServicesPage } from '../../../pages/adf/contentServicesPage';
|
||||
import CONSTANTS = require('../../../util/constants');
|
||||
import resources = require('../../../util/resources');
|
||||
import { FolderModel } from '../../../models/ACS/folderModel';
|
||||
import { AcsUserModel } from '../../../models/ACS/acsUserModel';
|
||||
import { AlfrescoApiCompatibility as AlfrescoApi } from '@alfresco/js-api';
|
||||
@@ -39,13 +38,13 @@ describe('Viewer', () => {
|
||||
const acsUser = new AcsUserModel();
|
||||
|
||||
const imgFolderInfo = new FolderModel({
|
||||
'name': resources.Files.ADF_DOCUMENTS.IMG_FOLDER.folder_name,
|
||||
'location': resources.Files.ADF_DOCUMENTS.IMG_FOLDER.folder_location
|
||||
'name': browser.params.resources.Files.ADF_DOCUMENTS.IMG_FOLDER.folder_name,
|
||||
'location': browser.params.resources.Files.ADF_DOCUMENTS.IMG_FOLDER.folder_location
|
||||
});
|
||||
|
||||
const imgRenditionFolderInfo = new FolderModel({
|
||||
'name': resources.Files.ADF_DOCUMENTS.IMG_RENDITION_FOLDER.folder_name,
|
||||
'location': resources.Files.ADF_DOCUMENTS.IMG_RENDITION_FOLDER.folder_location
|
||||
'name': browser.params.resources.Files.ADF_DOCUMENTS.IMG_RENDITION_FOLDER.folder_name,
|
||||
'location': browser.params.resources.Files.ADF_DOCUMENTS.IMG_RENDITION_FOLDER.folder_location
|
||||
});
|
||||
|
||||
beforeAll(async () => {
|
||||
|
Reference in New Issue
Block a user