j40-cejst-2/client/cypress
Vim 356e16950f
Fix territory shortcuts when census tract is selected (#1082)
* Refactor map click event architecture

- combine territory map clickHandlers
- centers AS on the map

* Center US on the map

- make the east and west coast both viewable
- make clicking on the 48, show the same zoom/lat/long as initial map
- centers Hawaii on map

* Update link to map performance

* Explicitly show links as the links return a 403

* Removes link and spells link out
2021-12-28 15:30:22 -08:00
..
fixtures Adding Cypress for e2e testing (#85) 2021-06-02 20:53:22 -04:00
integration Fix territory shortcuts when census tract is selected (#1082) 2021-12-28 15:30:22 -08:00
plugins Gherkin cypress spike (#673) 2021-09-15 12:06:13 -07:00
support Gherkin workflows for desktop (#788) 2021-10-13 14:06:05 -07: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