This is a simple Clerk+Next.js application showing how you can run e2e Cypress tests for your application using testing tokens.
https://clerk.com/docs/testing/cypress
npm install
the required dependencies.npm run dev
to launch the development server.cypress.env.example.json
file to cypress.env.json
.cp cypress.env.example.json cypress.env.json
test_user
and test_password
to the credentials of the test account.npm run cypress:open
e2e testing -> chrome -> start e2e testing in chrome
If you are running NOT running on localhost:3000
, you will need to update the baseUrl
in cypress.config.ts
to match your development server's URL.