chore: expect emails e2e (#10881)

* refactor: emails e2e

* fix: email subject with nameless organizer

* fix: comment on NEXT_PUBLIC_IS_E2E

* chore: E2E_TEST_MAILHOG_ENABLED env

* feat: IS_MAILHOG_ENABLED

* doc: E2E_TEST_MAILHOG_ENABLED

* fix: comment

* fix: env order

* chore: add E2E_TEST_MAILHOG_ENABLED to e2e env
This commit is contained in:
Shivam Kalra authored and GitHub committed 2023-08-23 11:08:14 +02:00
1 parent 376f023e0f
commit bab41ca8a6
12 files changed
+85 -30

No files matched your search

+4 -1
View File
@@ -45,10 +45,13 @@ declare namespace NodeJS {
/** The URL of the deployment. Example: my-site-7q03y4pi5.vercel.app. */
readonly VERCEL_URL: string | undefined;
/**
* This is used so we can bypass emails in auth flows for E2E testing.
* Set it to "1" if you need to run E2E tests locally
**/
readonly NEXT_PUBLIC_IS_E2E: "1" | undefined;
/**
* This is used so we can enable Mailhog in E2E tests.
*/
readonly E2E_TEST_MAILHOG_ENABLED: "1" | undefined;
readonly NEXT_PUBLIC_APP_NAME: string | "Cal";
readonly NEXT_PUBLIC_SUPPORT_MAIL_ADDRESS: string | "[email protected]";
readonly NEXT_PUBLIC_COMPANY_NAME: string | "Cal.com, Inc.";