Fixed browser test.
This commit is contained in:
parent
5ccde0c6f1
commit
f6d0fb3596
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue