You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tests: adds cypress tests for fullstack_demo (#662)
* tests: configures e2e
Signed-off-by: Anthony D. Mays <anthony@morganlatimer.com>
* chore: removes unused types ref
Signed-off-by: Anthony D. Mays <anthony@morganlatimer.com>
---------
Signed-off-by: Anthony D. Mays <anthony@morganlatimer.com>
Copy file name to clipboardExpand all lines: lib/javascript/fullstack_demo/README.md
+52Lines changed: 52 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,56 @@ By default, the app is configured to store data on the web server in a JSON file
29
29
30
30
To deploy this app, sign up for an account on Vercel and create a project pointing to your fork of this repo. You'll need to configure the environment variables you setup in your local `.env` file using the Vercel UI.
31
31
32
+
## Testing
33
+
34
+
The application includes both unit tests (Vitest) and end-to-end tests (Cypress).
35
+
36
+
### End-to-End Testing with Cypress and Clerk
37
+
38
+
The app is configured with Cypress for end-to-end testing, including authentication testing with Clerk.
39
+
40
+
1. Set up testing environment:
41
+
- Create a `cypress.env.json` file with your Clerk testing keys:
0 commit comments