j40-cejst-2/client/cypress
2021-07-27 12:57:22 -04:00
..
e2e properly scanning all pages now 2021-07-27 12:21:17 -04:00
fixtures adding endpoints, generated by the gatsby-cypress-endpoints plugin 2021-07-27 12:57:22 -04:00
plugins properly scanning all pages now 2021-07-27 12:21:17 -04:00
support Cypress tests are failing locally (#403) 2021-07-23 08:52:34 -04:00
README.md Cypress tests are failing locally (#403) 2021-07-23 08:52:34 -04:00

Cypress Tests

Debugging with VSCode

To debug Cypress tests:

  1. Open the client directory in vscode with code client
  2. In a terminal, run npm start to start the site
  3. In a separate terminal, run npm run cy:open to open cypress with the debug port set to 9222
  4. Open a target test from the list
  5. Create breakpoints in your test code and/or source
  6. Run the Debug Cypress command from the debug menu in VSCode