From aabffa8ca49c2b0ea7294eb3fa08c213d97d91c0 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Mon, 30 May 2016 12:34:23 +0200 Subject: [PATCH] Improved timing. --- test/browser_test_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/browser_test_helper.rb b/test/browser_test_helper.rb index fac5b88a6..4a3cc5432 100644 --- a/test/browser_test_helper.rb +++ b/test/browser_test_helper.rb @@ -2714,7 +2714,7 @@ wait untill text in selector disabppears text = element.text if text =~ /#{Regexp.quote(data[:name])}/ assert(true, 'group created') - sleep 1 # wait until modal has gone + modal_ready # wait until modal has gone # add member if data[:member]