alfresco-ng2-components/e2e/test.config.js
Eugenio Romano b2cb93468d [ADF-3259] [ADF-3363] e2e login and card metadata (#3612)
* remember me

* add login component e2e test

* add success route test

* add change logo check

* redirect url after logout e2e

* move redirection test in a separate file

* login component tslint

* cardview e2e

* fix login test

* add test case number

* move version test in a separate file

* clean unused elements

* metadata part 1

* tslint fix

* fix metadata test

* remove fit

* fix formatting file viewerPage

* multi propety test

* metadata and login improvements

* fix data automation fix

* metadata permission e2e

* fix tslint problems

* improve selector

* stabilize search component test

* stabilize test step 1

* fix tag test
add config timeout

* tentative

* delay after download

* change meatdata test

* stabilize metadata

* use smaller file for not extension related test

* stabilize test step 2

* exclude failing test

* timeout fix

* split in multiple task e2e

* trick travis

* trigger build

* fix command issue

* fix save screenshot

* fix run subfolder

* test timeout increase
2018-08-14 15:42:28 +01:00

107 lines
2.1 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* Contains the default app deployment settings
* @class config.test.config
*/
var HOST = process.env.URL_HOST_ADF;
var USERNAME = process.env.USERNAME_ADF;
var PASSWORD = process.env.PASSWORD_ADF;
var EMAIL = process.env.EMAIL_ADF;
var TIMEOUT = process.env.TIMEOUT || 20000;
module.exports = {
main: {
timeout: TIMEOUT,
presence_timeout: 60000,
rootPath: __dirname
},
adf: {
/**
* base
*/
url: "http://" + HOST,
/**
* adf port
*/
port: "",
/**
* adf login
*/
login: "/login",
/**
* admin username
*/
adminUser: USERNAME,
/**
* main admin email
*/
adminEmail: EMAIL,
/**
* main admin password
*/
adminPassword: PASSWORD
},
adf_acs: {
/**
* The protocol where the app runs.
* @config main.protocol {String}
*/
protocol: "http",
/**
* The protocol where the app runs.
* @config main.protocol {String}
*/
host: HOST,
/**
* * The port where the app runs.
* * @config main.port {String}
* */
port: "",
/**
* The ECM API context required for calls
* @config adf.ACSAPIContextRoot {String}
*/
apiContextRoot: "/alfresco/api/-default-/public",
},
adf_aps: {
/**
* The protocol where the app runs.
* @config main.protocol {String}
*/
protocol: "http",
/**
* The host where the app runs.
* @config main.host {String}
*/
host: HOST,
/**
* * The port where the app runs.
* * @config main.port {String}
* */
port: "",
/**
* The BPM API context required for calls
* @config adf.APSAPIContextRoot {String}
*/
apiContextRoot: "/activiti-app"
}
};