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

e2e tests for endpoints that send emails #50635

Open
3 tasks
ojeytonwilliams opened this issue Jun 8, 2023 · 2 comments
Open
3 tasks

e2e tests for endpoints that send emails #50635

ojeytonwilliams opened this issue Jun 8, 2023 · 2 comments
Labels
platform: api Server application that needs familiarity with Express, Loopback, MongoDB etc.

Comments

@ojeytonwilliams
Copy link
Contributor

Spinning up a SMTP server to catch emails for the api specific tests seems excessive, but some e2e tests would be good.

The endpoints that we should test are

  • /update-my-email
  • /user/report-user/
  • /certificate/verify
@raisedadead raisedadead added this to the Backend API MVP milestone Aug 17, 2023
@grootste
Copy link

grootste commented Sep 10, 2023

Can I work on this issue @raisedadead ? Can you help me get started?

@fabianbernhart
Copy link

IDEA: fake SMTP Server using mailhog or something else

https://medium.com/kreuzwerker-gmbh/e2e-testing-of-emails-in-mailhog-using-cypress-72ccb722bad7

@gikf gikf added the platform: api Server application that needs familiarity with Express, Loopback, MongoDB etc. label Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform: api Server application that needs familiarity with Express, Loopback, MongoDB etc.
Projects
Status: Discussing
Development

No branches or pull requests

5 participants