From 29b9f172f6d3a5b2a960ee0eaca206aa242464f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Wed, 12 Sep 2018 10:50:10 +0200 Subject: [PATCH] Fix test for Portuguese It fails because we try to follow a link without a Portuguese translation. In Madrid they use Spanish as fallback, but in consul we use English as fallback, and so the text in the link is different in those repos. A proper solution would be to update the Portuguese locales. However, since this test is going to be removed in our next backport, I'm just doing a quick patch. --- spec/features/translations_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/features/translations_spec.rb b/spec/features/translations_spec.rb index 95ec3dd53..61c674e7b 100644 --- a/spec/features/translations_spec.rb +++ b/spec/features/translations_spec.rb @@ -98,7 +98,7 @@ feature "Translations" do expect(page).to have_content("Description in English") select('Português', from: 'locale-switcher') - click_link("Seguimiento (1)") + click_link("Milestones (1)") expect(page).to have_content('Description in pt-BR') end