That particular spec is actually failing ; this must be solved

This commit is contained in:
Jean-Baptiste Bellet
2023-02-14 14:48:57 +01:00
committed by Maikel Linke
parent a56f061663
commit e97cd0a1fd

View File

@@ -25,6 +25,19 @@ describe "Footer Links" do
it_behaves_like "opens the cookie policy modal", "How We Use Cookies"
end
context "when spanish is selected" do
before do
visit root_path
find('.language-switcher').click
within '.language-switcher .dropdown' do
find('li a[href="/locales/es"]').click
end
click_link "política de cookies"
end
it_behaves_like "opens the cookie policy modal", "Cómo utilizamos las cookies"
end
end
describe "privacy policy link" do