From f3a7b5415d1afd4b7d37a10e48a1dac0994727f7 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Tue, 6 Jun 2017 14:10:29 +0200 Subject: [PATCH] Improved test. --- test/integration/twitter_browser_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/twitter_browser_test.rb b/test/integration/twitter_browser_test.rb index 8be58b1b3..32bef3329 100644 --- a/test/integration/twitter_browser_test.rb +++ b/test/integration/twitter_browser_test.rb @@ -140,7 +140,7 @@ class TwitterBrowserTest < TestCase set(css: '.content.active .modal [name="search::term"]', value: hash) select(css: '.content.active .modal [name="search::group_id"]', value: 'Users') click(css: '.content.active .modal .js-submit') - sleep 5 + modal_disappear watch_for( css: '.content.active',