From 87c1fd04b0d9c6df0c987740764f7b52ae760b40 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Mon, 25 Jan 2016 09:17:49 +0100 Subject: [PATCH] Improved timing. --- test/browser/switch_to_user_test.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/test/browser/switch_to_user_test.rb b/test/browser/switch_to_user_test.rb index 167f7faea..c37cd1209 100644 --- a/test/browser/switch_to_user_test.rb +++ b/test/browser/switch_to_user_test.rb @@ -25,6 +25,7 @@ class SwitchToUserTest < TestCase click( css: '#content .icon-switchView', ) + sleep 3 watch_for( css: '.switchBackToUser',