From 210c8e6159319335611b37f759c9b5b614b801cf Mon Sep 17 00:00:00 2001 From: Martin Gruner Date: Fri, 17 Dec 2021 14:50:49 +0100 Subject: [PATCH] Maintenance: Suppress translation incompleteness popover that interferes with the tests. --- spec/system/ticket/zoom_spec.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spec/system/ticket/zoom_spec.rb b/spec/system/ticket/zoom_spec.rb index 106a0a78e..7476afad3 100644 --- a/spec/system/ticket/zoom_spec.rb +++ b/spec/system/ticket/zoom_spec.rb @@ -2001,6 +2001,8 @@ RSpec.describe 'Ticket zoom', type: :system do def switch_language_german visit '#profile/language' + # Suppress the modal dialog that invites to contributions for translations that are < 95% as this breaks the tests for de-de. + page.evaluate_script "App.LocalStorage.set('translation_support_no', true, App.Session.get('id'))" page.find('.js-input').click page.find('.js-input').set('Deutsch') page.find('.js-input').send_keys(:enter)