From 6e6285aeddb8d1a68e3da88f69a299a2fade3637 Mon Sep 17 00:00:00 2001 From: Mantas Masalskis Date: Tue, 5 Nov 2019 15:40:01 +0100 Subject: [PATCH] Maintenance: Race condition after Knowledge Base creation modifies configuration and pushed it to frontend fails CI. --- spec/system/ticket/linking_knowledge_base_answer_spec.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spec/system/ticket/linking_knowledge_base_answer_spec.rb b/spec/system/ticket/linking_knowledge_base_answer_spec.rb index a61833e2e..8cc81976d 100644 --- a/spec/system/ticket/linking_knowledge_base_answer_spec.rb +++ b/spec/system/ticket/linking_knowledge_base_answer_spec.rb @@ -7,6 +7,9 @@ RSpec.describe 'linking Knowledge Base answer', type: :system, authenticated: tr configure_elasticsearch(required: true, rebuild: true) do published_answer end + + # refresh page to make sure it reflects updated settings + refresh end it do