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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user