From ba0005f062ee3011e50eaf99f43020899757035e Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Thu, 27 Feb 2025 14:39:38 -0800 Subject: [PATCH] calendar, maps, weather: wait a bit longer for grant_access One second doesn't seem to always be enough. Signed-off-by: Adam Williamson --- tests/apps_startstop/gnome/calendar.pm | 2 +- tests/apps_startstop/gnome/maps.pm | 2 +- tests/apps_startstop/gnome/weather.pm | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/apps_startstop/gnome/calendar.pm b/tests/apps_startstop/gnome/calendar.pm index cc8c0c78..afa4ffbd 100644 --- a/tests/apps_startstop/gnome/calendar.pm +++ b/tests/apps_startstop/gnome/calendar.pm @@ -12,7 +12,7 @@ sub run { start_with_launcher('apps_menu_calendar'); # give access to location if the vm asks for it - if (check_screen('grant_access', 1)) { + if (check_screen('grant_access', 5)) { assert_and_click 'grant_access'; } wait_still_screen 2; diff --git a/tests/apps_startstop/gnome/maps.pm b/tests/apps_startstop/gnome/maps.pm index 811de486..3fb30f07 100644 --- a/tests/apps_startstop/gnome/maps.pm +++ b/tests/apps_startstop/gnome/maps.pm @@ -12,7 +12,7 @@ sub run { start_with_launcher('apps_menu_maps'); # Check that is started # give access rights if asked - if (check_screen('grant_access', 1)) { + if (check_screen('grant_access', 5)) { assert_and_click 'grant_access'; } assert_screen 'apps_run_maps'; diff --git a/tests/apps_startstop/gnome/weather.pm b/tests/apps_startstop/gnome/weather.pm index 277c00ce..353ffee8 100644 --- a/tests/apps_startstop/gnome/weather.pm +++ b/tests/apps_startstop/gnome/weather.pm @@ -10,7 +10,7 @@ sub run { # start the application start_with_launcher('apps_menu_weather'); # give access rights if asked - if (check_screen('grant_access', 1)) { + if (check_screen('grant_access', 5)) { assert_and_click 'grant_access'; } wait_still_screen 2;