mirror of
https://github.com/theoludwig/theoludwig.git
synced 2025-05-29 22:37:44 +02:00
feat: migrate progressively to full name instead of nickname
This commit is contained in:
@ -4,7 +4,7 @@ describe('<Footer />', () => {
|
||||
it('should render with appropriate link tag version', () => {
|
||||
const version = '1.0.0'
|
||||
cy.mount(<Footer version={version} />)
|
||||
cy.contains('Divlo')
|
||||
cy.contains('Théo LUDWIG')
|
||||
.get('[data-cy=version-link]')
|
||||
.should('have.text', version)
|
||||
.should(
|
||||
|
@ -38,7 +38,7 @@ describe('Common > Header', () => {
|
||||
|
||||
describe('Switch Language', () => {
|
||||
it('should switch language from EN (default) to FR', () => {
|
||||
cy.get('h1').contains('Divlo')
|
||||
cy.get('h1').contains('Théo LUDWIG')
|
||||
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('Divlo')
|
||||
cy.get('h1').contains('Théo LUDWIG')
|
||||
})
|
||||
|
||||
it('should close the language list menu when clicking outside', () => {
|
||||
|
Reference in New Issue
Block a user