Maintenance: Fix capybara test to handle translation correctly.

This commit is contained in:
Martin Gruner 2021-12-20 07:45:54 +01:00
parent d72dc2e6ec
commit ee8fafe8ea

View file

@ -2009,7 +2009,7 @@ RSpec.describe 'Ticket zoom', type: :system do
click_on 'Submit'
visit "#ticket/zoom/#{ticket.id}"
expect(page).to have_text('Dateien wählen')
expect(page).to have_text(Translation.translate('de-de', 'select attachment…'))
end
def expect_upload_and_text