Skip to content

Commit

Permalink
chore: sets english as default
Browse files Browse the repository at this point in the history
  • Loading branch information
marabesi committed Feb 27, 2022
1 parent e5ed067 commit f57d38c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 0 additions & 1 deletion webapp/cypress/integration/introduction.spec.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
const URL = Cypress.env('host');
const password = Cypress.env('password');

context('introduction page', () => {
beforeEach(() => {
Expand Down
5 changes: 4 additions & 1 deletion webapp/cypress/integration/login.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ context('login', () => {
indexedDB.deleteDatabase('firebaseLocalStorageDb');

cy.visit(URL);

cy.wait(1000);
cy.get('[data-testid=languages]').select('en');
});

afterEach(() => {
Expand Down Expand Up @@ -45,6 +48,6 @@ context('login', () => {
cy.get('input[type="password"]').type(password);
cy.contains('Sign In').click({ timeout: 10000 });
cy.get('.picture-holder img').click();
cy.contains('sair').click();
cy.contains('logout').click();
});
});

0 comments on commit f57d38c

Please sign in to comment.