See /cypress/integration/example.cy.js for usage.
Note: the test uses mailslurp-client
and adds custom commands in the support/commands.js
file.
First get a MailSlurp API Key then install the dependencies:
npm init -y
npm install --save mailslurp-client cypress
To run these tests set the environment variable CYPRESS_API_KEY
to your MailSlurp API Key.
CYPRESS_API_KEY="your-mailslurp-api-key" npm run test`