j40-cejst-2/client/cypress
Vim b321b267fc
Previous versions page narwal (#2018)
* Add Previous Version page

- Create a new DownloadButton component
- Add PreviousVersion link to main nav
- Extract out download button from PublicVideo component
- Update SidePageNav to render PrevVersion
- Add Beta start date
- Create previous-version page
- Add public eng to all pages
- update snapshots

* Update cypress test to test prev version page

- Add <ul> around card as it fails a11y without it.

* Add updated tribal base map

- this removes the LAR suffix in MapBox studio
2022-10-14 16:23:42 -07:00
..
fixtures Adding Cypress for e2e testing (#85) 2021-06-02 20:53:22 -04:00
integration Previous versions page narwal (#2018) 2022-10-14 16:23:42 -07:00
plugins Gherkin cypress spike (#673) 2021-09-15 12:06:13 -07:00
support Re-order nav links, update download box to include shapefiles, squish pages (#1538) 2022-04-07 10:14:54 -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