mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-11 17:34:23 +00:00
characters: workaround text editor starting behind characters
We're constantly seeing this test fail on an odd problem where text editor starts *behind* characters. To handle this, check if we see text editor and if not, hit alt-tab. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
57a3e68c56
commit
85d28ce4ab
@ -22,6 +22,12 @@ sub run {
|
||||
send_key("esc");
|
||||
# Open text editor.
|
||||
menu_launch_type("text editor");
|
||||
# For some reason, text editor often starts *behind* characters,
|
||||
# so we may need to hit alt-tab to find it
|
||||
unless(check_screen("apps_run_texteditor", 15)) {
|
||||
send_key("alt-tab");
|
||||
assert_screen("apps_run_texteditor");
|
||||
}
|
||||
wait_still_screen(3);
|
||||
# Paste the character.
|
||||
send_key("ctrl-v");
|
||||
|
Loading…
Reference in New Issue
Block a user