This repository contains code from the talk Testing Passwordless Authentication Flows given at Cypress Conf 2023.
This repo uses node and yarn. We recommend using nvm to manage node versions locally.
nvm use
cd ./e2e-tests && yarn install
cd ../demo && yarn install && cd ..
demo
contains a small React application with multiple login & authentication flowse2e-tests
contains a set of Cypress e2e tests that execute against the demo app
Follow the setup instructions in /e2e-tests/README.md. By default the tests will run on our hosted version of the Stytch demo app. If you would like to run the Stytch demo app locally, follow instructions in /demo/README.md.