We added functionality within the app that sends emails to users, but we did not have that flow tested from e2e. This PR uses cypress-mailhog to intercept the emails within our cypress tests, confirm they are correct, and test the links that are sent within them
Testing Instructions
Test in Github Actions:
1) Run cypress test and ensure that the full email flow is being tested.
Overview
We added functionality within the app that sends emails to users, but we did not have that flow tested from e2e. This PR uses cypress-mailhog to intercept the emails within our cypress tests, confirm they are correct, and test the links that are sent within them
Testing Instructions
Test in Github Actions: 1) Run cypress test and ensure that the full email flow is being tested.
Test Locally: 1) See docs: https://github.com/FordLabs/retroquest/blob/b61d84f52a5a03b92778775c0ba81ffb5acd207a/ui/cypress/README.md#start-the-email-interceptor 2) Ensure docs make sense and successfully allow you to run cypress tests with email testing.