From 31c3904848321c376795e9c3088eaeb55bfa374d Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Thu, 3 Mar 2016 15:13:06 +0100 Subject: [PATCH] Wait until overview is created. --- test/browser_test_helper.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/browser_test_helper.rb b/test/browser_test_helper.rb index 2009d0c88..a63bdcef0 100644 --- a/test/browser_test_helper.rb +++ b/test/browser_test_helper.rb @@ -1305,6 +1305,7 @@ wait untill text in selector disabppears overview = { name: name, } + sleep 1 return overview end sleep 1 @@ -2020,6 +2021,7 @@ wait untill text in selector disabppears text = element.text if text =~ /#{Regexp.quote(data[:name])}/ assert(true, 'sla created') + sleep 1 return true end sleep 1 @@ -2069,6 +2071,7 @@ wait untill text in selector disabppears text = element.text if text =~ /#{Regexp.quote(data[:name])}/ assert(true, 'text module created') + sleep 1 return true end sleep 1 @@ -2116,6 +2119,7 @@ wait untill text in selector disabppears text = element.text if text =~ /#{Regexp.quote(data[:name])}/ assert(true, 'signature created') + sleep 1 return true end sleep 1