Be able to provide the email domain for test users from an env var (#7914)

* Be able to provide the email domain for test users from an env var

* Change default domain to example.com
This commit is contained in:
Ardit Domi
2022-10-21 14:32:23 +01:00
committed by GitHub
parent c84792a6e9
commit c0611e4642

View File

@@ -37,6 +37,8 @@ const REDIRECT_URI_LOGOUT = process.env.REDIRECT_URI_LOGOUT || "#/logout";
const EXTERNAL_ACS_HOST = process.env.EXTERNAL_ACS_HOST;
const E2E_LOG_LEVEL = process.env.E2E_LOG_LEVEL || 'ERROR';
const E2E_EMAIL_DOMAIN = process.env.E2E_EMAIL_DOMAIN || "example.com";
const appConfig = {
"log": E2E_LOG_LEVEL,
"ecmHost": HOST_ECM,
@@ -74,7 +76,7 @@ if (LOG) {
module.exports = {
projectName: 'adf',
emailDomain: 'example.com',
emailDomain: E2E_EMAIL_DOMAIN,
appConfig: appConfig,