mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-02-23 10:04:18 -08:00
* Fix all failing cypress tests - update test name to be more appropriate - update download packet tests to CDN - update data-cy tag on About heading * Update snapshot
15 lines
515 B
JavaScript
15 lines
515 B
JavaScript
// / <reference types="Cypress" />
|
|
|
|
describe('Translation Test', () => {
|
|
it('Sets default language to /en and redirects', () => {
|
|
cy.visit('http://localhost:8000');
|
|
cy.url().should('include', '/en/');
|
|
cy.get('[data-cy=about-page-heading]').contains('About');
|
|
});
|
|
|
|
// Todo VS: Understand how to create es content
|
|
// it('Sets page content to spanish when visiting Spanish URL', () => {
|
|
// cy.visit('http://localhost:8000/es');
|
|
// cy.get('h1').contains('Acerca de Justice40');
|
|
// });
|
|
});
|