Stay over element until click it.

This commit is contained in:
Martin Edenhofer 2015-11-21 07:50:53 +01:00
parent d115fe8993
commit 9fb77318ff

View file

@ -21,6 +21,7 @@ class SwitchToUserTest < TestCase
sleep 3 sleep 3
@browser.mouse.move_to( @browser.find_elements( { css: '#content .table-overview tbody tr:first-child' } )[0] ) @browser.mouse.move_to( @browser.find_elements( { css: '#content .table-overview tbody tr:first-child' } )[0] )
sleep 0.5
click( click(
css: '#content .icon-switchView', css: '#content .icon-switchView',
) )