From e60a390db2151b2ce91ce1740a46f07c239630ed Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Mon, 6 Nov 2023 09:51:10 -0800 Subject: [PATCH] some waiting and screenshots to debug desktop_printing fails desktop_printing is failing a lot in recent Rawhide (and so are some other tests, but this one is nice and easy to target). Add some wait_still_screens and save_screenshots to try and see exactly what's going on when we exit gnome-text-editor before switching to a VT. Signed-off-by: Adam Williamson --- tests/desktop_printing.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/desktop_printing.pm b/tests/desktop_printing.pm index 422d9d4e..fc26b1ed 100644 --- a/tests/desktop_printing.pm +++ b/tests/desktop_printing.pm @@ -81,8 +81,12 @@ 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; # Get the name of the printed file. The path location depends # on the selected method. We do this on a VT because there's