feat: env keys behavior updated (#8348)

This commit is contained in:
Alejandro Bailo authored and GitHub committed 2025-07-23 10:44:28 +02:00
1 parent 3840e40870
commit 676cc44fe2
3 files changed
+13 -4

No files matched your search

+2
View File
@@ -34,6 +34,8 @@ export default defineConfig({
AUTH_SECRET: process.env.AUTH_SECRET || "fallback-ci-secret-for-testing",
AUTH_TRUST_HOST: process.env.AUTH_TRUST_HOST || "true",
NEXTAUTH_URL: process.env.NEXTAUTH_URL || "http://localhost:3000",
E2E_USER: process.env.E2E_USER || "e2e@prowler.com",
E2E_PASSWORD: process.env.E2E_PASSWORD || "Thisisapassword123@",
},
},
});
+2 -2
View File
@@ -13,8 +13,8 @@ export const URLS = {
export const TEST_CREDENTIALS = {
VALID: {
email: "e2e@prowler.com",
password: "Thisisapassword123@",
email: process.env.E2E_USER || "e2e@prowler.com",
password: process.env.E2E_PASSWORD || "Thisisapassword123@",
},
INVALID: {
email: "invalid@example.com",