mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-22 13:11:26 +00:00
Tweak _graphical_input to work with transparent top bar
At least, I hope this will work.
This commit is contained in:
parent
6d81c3095d
commit
9a7d51f841
@ -4,6 +4,10 @@ use testapi;
|
|||||||
use utils;
|
use utils;
|
||||||
|
|
||||||
sub run {
|
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,
|
# check both layouts are available at the desktop; here,
|
||||||
# we can expect input method switching to work too
|
# we can expect input method switching to work too
|
||||||
desktop_switch_layout 'ascii';
|
desktop_switch_layout 'ascii';
|
||||||
@ -14,8 +18,7 @@ sub run {
|
|||||||
if (get_var("LANGUAGE") eq 'japanese') {
|
if (get_var("LANGUAGE") eq 'japanese') {
|
||||||
# wait a bit for input switch to complete
|
# wait a bit for input switch to complete
|
||||||
sleep 3;
|
sleep 3;
|
||||||
# assume we can test input from whatever 'alt-f1' opens
|
# assume we can test input from whatever 'alt-f1' opened
|
||||||
send_key "alt-f1";
|
|
||||||
type_safely "yama";
|
type_safely "yama";
|
||||||
assert_screen "desktop_yama_hiragana";
|
assert_screen "desktop_yama_hiragana";
|
||||||
send_key "spc";
|
send_key "spc";
|
||||||
|
Loading…
Reference in New Issue
Block a user