mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-02-23 10:04:18 -08:00
* Add intial search component * Add nominatum simple * Connect search field to Nominatum API - remove react-query - remove react-query logic from J40Map - move searchHandler to MapSearch * Adjust zoom and territory focus - adjust zoom buttons in CSS to allow for search field * Place search behind a feature flag * Add cors to fetch and error handling - this is to test on OMB machines * Add error messaging and bound search results to US - adjust controls to add error message to search - add MapSearchMessage component for error message - add unit tests - add state to track if API results are empty - add intl on two strings, placeholder and error message * Remove warpper around MapSearch component - reorder component import in J40Map - remove unused CSS in MapSearch.module.scss - remove and comment on wrapper error on MapSearch - rename isSearchEmpty to isSearchResultsEmpty - update snapshot * Add error message - if the search query returns null, show an error message |
||
---|---|---|
.. | ||
fixtures | ||
integration | ||
plugins | ||
support | ||
README.md |
Cypress Tests
Debugging with VSCode
To debug Cypress tests:
- Open the
client
directory in vscode withcode client
- In a terminal, run
npm start
to start the site - In a separate terminal, run
npm run cy:open
to open cypress with the debug port set to 9222 - Open a target test from the list
- Create breakpoints in your test code and/or source
- Run the
Debug Cypress
command from the debug menu in VSCode