Log class in e2e plus check PS cloud CS works before run test (#5057)

* check cs work on ps cloud add log class

* fix env config
This commit is contained in:
Eugenio Romano
2019-09-09 17:25:10 +01:00
committed by GitHub
parent f698892973
commit 327bc56c02
13 changed files with 96 additions and 66 deletions

View File

@@ -3,15 +3,7 @@
* @class config.test.config
*/
let load_env_file = function () {
let ENV_FILE = process.env.ENV_FILE;
if (ENV_FILE) {
require('dotenv').config({path: ENV_FILE});
}
};
load_env_file();
require('dotenv').config({path: process.env.ENV_FILE});
const HOST = process.env.URL_HOST_ADF;
const HOST_BPM = process.env.URL_HOST_BPM_ADF;
@@ -62,10 +54,12 @@ if (LOG) {
module.exports = {
projectName :'ADF',
projectName: 'ADF',
appConfig: appConfig,
log: LOG,
main: {
timeout: TIMEOUT,
rootPath: __dirname
@@ -211,4 +205,5 @@ module.exports = {
clientIdSso: "activiti"
}
};