This is an example app that shows how to use Selenium to test password reset functionality. It uses the mailisk library.
This example includes a simple full stack React (NestJS) and Express application. The Express server uses Mailisk SMTP to send emails.
You will need to install packages in all directories. Run the following commands in the root directory:
npm --prefix ./server install ./server
npm --prefix ./app install ./app
npm --prefix ./tests install ./testsThe Api Key and namespace can be found in your dashboard. See the Getting Started guide for detailed steps
Create a .env file in the root project directory. Add the following lines from your settings:
API_KEY=<api key>
NAMESPACE=<yournamespace>Head into the app folder and run:
npm run devThen go into the server folder and run:
npm run devTo run the test go into the tests folder and run:
npm run start