diff --git a/cypress/e2e/common/Header.cy.ts b/cypress/e2e/common/Header.cy.ts index 3832598..700d7b3 100644 --- a/cypress/e2e/common/Header.cy.ts +++ b/cypress/e2e/common/Header.cy.ts @@ -38,7 +38,7 @@ describe('Common > Header', () => { describe('Switch Language', () => { it('should switch language from EN (default) to FR', () => { - cy.get('h1').contains('I am Divlo') + cy.get('h1').contains('Divlo') cy.get('[data-cy=language-flag-text]').contains('EN') cy.get('[data-cy=languages-list]').should('not.be.visible') cy.get('[data-cy=language-click]').click() @@ -46,7 +46,7 @@ describe('Common > Header', () => { cy.get('[data-cy=languages-list] > li:first-child').contains('FR').click() cy.get('[data-cy=languages-list]').should('not.be.visible') cy.get('[data-cy=language-flag-text]').contains('FR') - cy.get('h1').contains('Je suis Divlo') + cy.get('h1').contains('Divlo') }) it('should close the language list menu when clicking outside', () => {