j40-cejst-2/client/cypress/e2e/language.spec.js
Nat Hillard 27d9472326
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
2021-07-06 14:52:35 -04:00

11 lines
350 B
JavaScript

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