mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-08-07 01:44:18 -07:00
Add Zoom/Lat/Lng to the URL (#293)
* mandatory eslint fix * Addresses #286 - Adding lat/lng to the URL * setting zoom on map load * adding integration tests for zoom
This commit is contained in:
parent
11d13e034e
commit
27d9472326
4 changed files with 54 additions and 27 deletions
11
client/cypress/e2e/language.spec.js
Normal file
11
client/cypress/e2e/language.spec.js
Normal file
|
@ -0,0 +1,11 @@
|
|||
// / <reference types="Cypress" />
|
||||
|
||||
describe('Translation Test', () => {
|
||||
it('Checks that locales have correct content', () => {
|
||||
cy.visit('http://localhost:8000');
|
||||
cy.url().should('include', '/en/');
|
||||
cy.get('header').contains('Justice40');
|
||||
cy.visit('http://localhost:8000/es');
|
||||
cy.get('header').contains('Justicia40');
|
||||
});
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue