Fixed browser test.

This commit is contained in:
Martin Edenhofer 2016-07-05 22:38:39 +02:00
parent 5ccde0c6f1
commit f6d0fb3596

View file

@ -131,6 +131,7 @@ class KeyboardShortcutsTest < TestCase
exists(css: '#navigation .search.open') exists(css: '#navigation .search.open')
sleep 2 sleep 2
window_keys(value: :arrow_down) window_keys(value: :arrow_down)
window_keys(value: :arrow_down)
window_keys(value: :enter) window_keys(value: :enter)
watch_for( watch_for(
css: '.active.content', css: '.active.content',
@ -144,6 +145,7 @@ class KeyboardShortcutsTest < TestCase
window_keys(value: ticket1[:number]) window_keys(value: ticket1[:number])
sleep 2 sleep 2
window_keys(value: :arrow_down) window_keys(value: :arrow_down)
window_keys(value: :arrow_down)
window_keys(value: :enter) window_keys(value: :enter)
# open new ticket # open new ticket