Another chrome selenium fix.

This commit is contained in:
Martin Edenhofer 2015-11-18 00:53:19 +01:00
parent 59b9a39423
commit d8069b8e61

View file

@ -1468,6 +1468,10 @@ wait untill text in selector disabppears
)
instance.find_elements( { css: ".content.active .sidebar a[href=\"#{params[:link]}\"]" } )[0].click
sleep 1
execute(
browser: instance,
js: '$(".content.active .sidebar").css("display", "none")',
)
instance.find_elements( { partial_link_text: params[:number] } )[0].click
sleep 1
number = instance.find_elements( { css: '.active .ticketZoom-header .ticket-number' } )[0].text