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

desktop_printing: adjust to g-t-e dying after print

It seems like in current Rawhide (since about Saturday - possibly
due to new mesa?), g-t-e quite often dies after we print. This
messes up the test because we wind up quitting the terminal
instead of g-t-e. Let's handle it as a soft failure instead,
until we can figure out why g-t-e is dying.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2023-11-06 20:36:18 -10:00
parent e60a390db2
commit dd946b0960

View File

@ -81,12 +81,15 @@ sub run {
}
}
assert_and_click "printing_print";
wait_still_screen 5;
save_screenshot;
# Exit the application
send_key "alt-f4";
wait_still_screen 5;
save_screenshot;
# In Rawhide from 2023-11-04 onwards, sometimes g-t-e has
# already died somehow at this point
if (check_screen "apps_run_terminal", 10) {
record_soft_failure "gnome-text-editor died!"
}
else {
# Exit the application
send_key "alt-f4";
}
# Get the name of the printed file. The path location depends
# on the selected method. We do this on a VT because there's