feat(header): switch to DSFR translate component and dropdown component
This commit is contained in:
parent
96cdae0dd5
commit
73f94b9635
9 changed files with 70 additions and 62 deletions
|
@ -7,8 +7,8 @@ describe 'Accessing the website in different languages:' do
|
|||
visit new_user_session_path
|
||||
expect(page).to have_text('Connectez-vous')
|
||||
|
||||
click_on 'Langues'
|
||||
click_on 'English'
|
||||
find('.fr-translate__btn').click
|
||||
find('.fr-nav__link[hreflang="en"]').click
|
||||
|
||||
# The page is now in English
|
||||
expect(page).to have_text('Sign in')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue