From 4eaa948d29309a7e37e2e908e34d7bcea6a3a432 Mon Sep 17 00:00:00 2001 From: Wieland Lindenthal Date: Thu, 16 Jul 2020 14:04:51 +0200 Subject: [PATCH] Fix timeout issues in bim_navigation_spec --- modules/bim/spec/support/pages/ifc_models/show_default.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/bim/spec/support/pages/ifc_models/show_default.rb b/modules/bim/spec/support/pages/ifc_models/show_default.rb index e6387e69a9..4ee7eb901d 100644 --- a/modules/bim/spec/support/pages/ifc_models/show_default.rb +++ b/modules/bim/spec/support/pages/ifc_models/show_default.rb @@ -45,12 +45,12 @@ module Pages end def finished_loading - expect(page).to have_no_selector('.xeokit-busy-modal', visible: true) + expect(page).to have_no_selector('.xeokit-busy-modal', visible: true, wait: 10) end def model_viewer_visible(visible) selector = '.ifc-model-viewer--model-canvas' - expect(page).to (visible ? have_selector(selector) : have_no_selector(selector)) + expect(page).to (visible ? have_selector(selector, wait: 10) : have_no_selector(selector, wait: 10)) end def model_viewer_shows_a_toolbar(visible)