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