mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
Update e2e Tests to allow ADW builds to run on them as well (#1242)
* make ECM host flexible
This commit is contained in:
@@ -13,6 +13,8 @@ const downloadFolder = `${projectRoot}/e2e-downloads`;
|
||||
const width = 1366;
|
||||
const height = 768;
|
||||
|
||||
const REPO_API_HOST = process.env.REPO_API_HOST || 'http://localhost:8080';
|
||||
|
||||
function rmDir(dirPath) {
|
||||
try {
|
||||
var files = fs.readdirSync(dirPath);
|
||||
@@ -28,10 +30,17 @@ function rmDir(dirPath) {
|
||||
fs.rmdirSync(dirPath);
|
||||
}
|
||||
|
||||
const appConfig = {
|
||||
ecmHost: REPO_API_HOST,
|
||||
providers: 'ECM',
|
||||
authType: 'BASIC'
|
||||
};
|
||||
|
||||
exports.config = {
|
||||
allScriptsTimeout: 50000,
|
||||
|
||||
params: {
|
||||
config: appConfig,
|
||||
downloadFolder: downloadFolder
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user