Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Allow disabling email sending without errors #15051

Merged
merged 2 commits into from
May 15, 2024

Conversation

emrysal
Copy link
Contributor

@emrysal emrysal commented May 15, 2024

What does this PR do?

Email sending is notoriously unreliable, so I'm working on creating a better system to test our emails that work unrelated from our general E2E suite. Our vitest tests should test that the email functions are actually called. For now however the best way forward is disabling Mailhog; but in order to disable mailhog we should prevent errors when the env var is missing. Hense this PR.

  • Follow up, create separate suite of tests to test email sending.

@graphite-app graphite-app bot requested a review from a team May 15, 2024 13:16
Copy link
Contributor

github-actions bot commented May 15, 2024

Thank you for following the naming conventions! 🙏 Feel free to join our discord and post your PR link.

@keithwillcode keithwillcode added core area: core, team members only foundation labels May 15, 2024
@dosubot dosubot bot added automated-tests area: unit tests, e2e tests, playwright emails area: emails, cancellation email, reschedule email, inbox, spam folder, not getting email labels May 15, 2024
Copy link

vercel bot commented May 15, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

3 Ignored Deployments
Name Status Preview Comments Updated (UTC)
ai ⬜️ Ignored (Inspect) Visit Preview May 15, 2024 1:22pm
cal ⬜️ Ignored (Inspect) Visit Preview May 15, 2024 1:22pm
calcom-web-canary ⬜️ Ignored (Inspect) Visit Preview May 15, 2024 1:22pm

Copy link

graphite-app bot commented May 15, 2024

Graphite Automations

"Add foundation team as reviewer" took an action on this PR • (05/15/24)

1 reviewer was added to this PR based on Keith Williams's automation.

Copy link

deploysentinel bot commented May 15, 2024

Current Playwright Test Results Summary

✅ 34 Passing - ⚠️ 1 Flaky

Run may still be in progress, this comment will be updated as current testing workflow or job completes...

(Last updated on 05/15/2024 02:03:15pm UTC)

Run Details

Running Workflow PR Update on Github Actions

Commit: 1a7bf8d

Started: 05/15/2024 02:02:21pm UTC

⚠️ Flakes

📄   apps/web/playwright/profile.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Update Profile Can update a users email (verification enabled)
Retry 1Initial Attempt
38.32% (105) 105 / 274 runs
failed over last 7 days
33.58% (92) 92 / 274 runs
flaked over last 7 days

View Detailed Build Results


Copy link
Contributor

📦 Next.js Bundle Analysis for @calcom/web

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

@emrysal emrysal merged commit 775010c into main May 15, 2024
40 checks passed
@emrysal emrysal deleted the chore/allow-disabling-mailhog-without-error branch May 15, 2024 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automated-tests area: unit tests, e2e tests, playwright core area: core, team members only emails area: emails, cancellation email, reschedule email, inbox, spam folder, not getting email foundation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants