Skip to content
A sample repo demonstrating how to test email based workflows with Cypress
JavaScript HTML CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cypress
public
.gitignore
README.md
cypress.json
docker-compose.yml
index.js
package.json
yarn.lock

README.md

Cypress Email Testing

Blog post: https://humble.dev/testing-an-email-workflow-from-end-to-end-with-cypress

Code sample demonstrating how to test an email based workflow with Cypress. Mails are sent to Mailhog and exposed through its API.

Installation

yarn
yarn start

Launches small express backend and mailhog server. You need docker compose installed to run mailhog.

Running the tests

After the servers are running, run yarn test to launch the cypress tests in headless mode. You can also run yarn cypress open to run tests within the Cypress UI.

You can’t perform that action at this time.