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:
Nat Hillard 2021-07-06 14:52:35 -04:00 committed by GitHub
commit 27d9472326
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 54 additions and 27 deletions

View 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');
});
});