From 271aa60247b0d8a81a93067185973373378cb97d Mon Sep 17 00:00:00 2001 From: Divlo Date: Mon, 29 May 2023 17:26:06 +0200 Subject: [PATCH] test: update with new changes --- cypress/e2e/common/Header.cy.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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', () => {