mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-08-03 11:14:18 -07:00
Census block groups should highlight when selected (#317)
* Fixes #280 - adds territory focus buttons for Alaska, Hawaii, Lower 48, and Puerto Rico to enable easy zoom to these locations * Adding tests - Specifically: * Adding VSCode debug command for Cypress and debug port specification * Disabling CORS on local tests * Adding waitForMapIdle Cypress test helper * Adding constants for easy change and access
This commit is contained in:
parent
5bade764c6
commit
d0c281ec72
9 changed files with 126 additions and 16 deletions
|
@ -21,3 +21,8 @@ Cypress.Commands.add('getMapCanvas', () => {
|
|||
return cy.get('.maplibregl-canvas');
|
||||
});
|
||||
|
||||
Cypress.Commands.add('waitForMapIdle', (map) => {
|
||||
return new Cypress.Promise((resolve) => {
|
||||
map.once('idle', resolve);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue