mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-12-22 02:13:08 +00:00
_graphical_input: retry launch of keyboard if it fails
First attempt at this often fails for some reason - while we're typing 'keyboard' the results come up as normal, but before we hit enter, they all disappear and are replaced with "no results found" (in Japanese). Dunno why. This will hopefully work around that, if it works reliably on the second try. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
c4da4e234d
commit
c424d63ea8
@ -13,6 +13,11 @@ sub run {
|
||||
# we have to set up the input method manually:
|
||||
# https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3749
|
||||
menu_launch_type "keyboard";
|
||||
unless (check_screen "desktop_add_input_source", 30) {
|
||||
# first attempt to run this often fails for some reason
|
||||
check_desktop;
|
||||
menu_launch_type "keyboard";
|
||||
}
|
||||
assert_and_click "desktop_add_input_source";
|
||||
assert_and_click "desktop_input_source_japanese";
|
||||
assert_and_click "desktop_input_source_japanese_anthy";
|
||||
|
Loading…
Reference in New Issue
Block a user