feat(header): switch to DSFR translate component and dropdown component

This commit is contained in:
Martin 2022-08-19 15:58:34 +02:00 committed by mfo
parent 96cdae0dd5
commit 73f94b9635
9 changed files with 70 additions and 62 deletions

View file

@ -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')