Adds localization test for checkout as a guest

This commit is contained in:
filipefurtad0
2024-04-29 17:44:42 +01:00
parent 442991ac7b
commit 1763c516ec

View File

@@ -61,6 +61,13 @@ describe 'Multilingual' do
expect_menu_and_cookie_in_es
expect(page).to have_content 'Precio'
end
it "visiting checkout as a guest user" do
visit checkout_path(locale: 'es')
expect_menu_and_cookie_in_es
expect(page).to have_content 'Iniciar sesión'
end
end
end