bdd: Use 'q' key for forward-unbound-keys test.

It seems ' gives us a 222 keycode with newer Qt versions, but 0 with older
ones. 'q' which is a much lower code should hopefully work better.
This commit is contained in:
Florian Bruhin 2015-11-25 17:52:00 +01:00
parent 21a1f9ca65
commit 0a7b552111

View File

@ -69,11 +69,11 @@ Feature: Keyboard input
When I open data/keyinput/log.html
And I set general -> log-javascript-console to true
And I set input -> forward-unbound-keys to all
And I press the key "'"
And I press the key "q"
And I press the key "<F1>"
# '
Then the javascript message "key press: 222" should be logged
And the javascript message "key release: 222" should be logged
# q
Then the javascript message "key press: 90" should be logged
And the javascript message "key release: 90" should be logged
# <F1>
And the javascript message "key press: 112" should be logged
And the javascript message "key release: 112" should be logged