From c0611e464286842b2234d07b1c2e52545d121331 Mon Sep 17 00:00:00 2001 From: Ardit Domi <32884230+arditdomi@users.noreply.github.com> Date: Fri, 21 Oct 2022 14:32:23 +0100 Subject: [PATCH] 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 --- e2e/test.config.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/e2e/test.config.js b/e2e/test.config.js index bdee2356ff..bd1effdba9 100644 --- a/e2e/test.config.js +++ b/e2e/test.config.js @@ -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,