From 106a63f10153ae9ad04d5e034e234f70374b4cd7 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Fri, 16 Feb 2024 17:22:22 -0800 Subject: [PATCH] Maps: try and be a bit safer with the export screen It seems like the export screen takes a while to appear on 40 and Rawhide ATM, and we might start typing before it's there. Let's assert it's actually there before we start doing stuff. Signed-off-by: Adam Williamson --- tests/applications/maps/export.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/applications/maps/export.pm b/tests/applications/maps/export.pm index fc77865c..9f5f4e18 100644 --- a/tests/applications/maps/export.pm +++ b/tests/applications/maps/export.pm @@ -12,6 +12,8 @@ sub run { # Go to menu and click on Export. assert_and_click("gnome_burger_menu"); assert_and_click("maps_menu_export"); + # wait for the export screen to appear and settle + assert_screen("maps_button_export"); wait_still_screen(2); # Rename the file and export it.