1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-22 10:23:09 +00:00

Tweak _graphical_input to work with transparent top bar

At least, I hope this will work.
This commit is contained in:
Adam Williamson 2017-07-10 14:41:57 -07:00
parent 6d81c3095d
commit 9a7d51f841

View File

@ -4,6 +4,10 @@ use testapi;
use utils;
sub run {
# do this from the overview because the desktop uses the stupid
# transparent top bar which messes with our needles
send_key "alt-f1";
assert_screen "overview_app_grid";
# check both layouts are available at the desktop; here,
# we can expect input method switching to work too
desktop_switch_layout 'ascii';
@ -14,8 +18,7 @@ sub run {
if (get_var("LANGUAGE") eq 'japanese') {
# wait a bit for input switch to complete
sleep 3;
# assume we can test input from whatever 'alt-f1' opens
send_key "alt-f1";
# assume we can test input from whatever 'alt-f1' opened
type_safely "yama";
assert_screen "desktop_yama_hiragana";
send_key "spc";