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',