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
1 changed files with 9 additions and 6 deletions

View File

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