From 9fb77318ffb1302fbd06a3d8916bb4cb031bf007 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Sat, 21 Nov 2015 07:50:53 +0100 Subject: [PATCH] Stay over element until click it. --- 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 514a8cefd..167f7faea 100644 --- a/test/browser/switch_to_user_test.rb +++ b/test/browser/switch_to_user_test.rb @@ -21,6 +21,7 @@ class SwitchToUserTest < TestCase sleep 3 @browser.mouse.move_to( @browser.find_elements( { css: '#content .table-overview tbody tr:first-child' } )[0] ) + sleep 0.5 click( css: '#content .icon-switchView', )