mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-02-23 01:54:18 -08:00
13 lines
432 B
Markdown
13 lines
432 B
Markdown
|
# Cypress Tests
|
||
|
|
||
|
## Debugging with VSCode
|
||
|
|
||
|
To debug Cypress tests:
|
||
|
|
||
|
1. Open the `client` directory in vscode with `code client`
|
||
|
1. In a terminal, run `npm start` to start the site
|
||
|
1. In a separate terminal, run `npm run cy:open` to open cypress with the debug port set to 9222
|
||
|
1. Open a target test from the list
|
||
|
1. Create breakpoints in your test code and/or source
|
||
|
1. Run the `Debug Cypress` command from the debug menu in VSCode
|