https://cypress.io logo
```js import { useTranslation } from 'react-i18nex...
# e2e-testing
l
Copy code
js
import { useTranslation } from 'react-i18next';

describe('Open App', () => {
  const { t } = useTranslation();
  beforeEach(() => {
    cy.visit('/');
  });
  it('Frontpage can be opened', () => {
    cy.contains('example@gmail.com');
  });

  it('Login can be opened', () => {
    cy.get('input:first').type('adrianmsm91@gmail.com');
    cy.get('input:last').type('111111');
    cy.contains(t('pages.authentication.login.signIn')).click();
  });
});