diff --git a/tests/apps_startstop/gnome/calendar.pm b/tests/apps_startstop/gnome/calendar.pm index 77ade6ff..ba337957 100644 --- a/tests/apps_startstop/gnome/calendar.pm +++ b/tests/apps_startstop/gnome/calendar.pm @@ -12,8 +12,8 @@ sub run { start_with_launcher('apps_menu_calendar'); # give access to location if the vm asks for it - if (check_screen('apps_run_access', 1)) { - assert_and_click 'apps_run_access'; + if (check_screen('grant_access', 1)) { + assert_and_click 'grant_access'; } wait_still_screen 2; assert_screen 'apps_run_calendar'; diff --git a/tests/apps_startstop/gnome/clocks.pm b/tests/apps_startstop/gnome/clocks.pm index 9d157dd5..895b7463 100644 --- a/tests/apps_startstop/gnome/clocks.pm +++ b/tests/apps_startstop/gnome/clocks.pm @@ -9,9 +9,9 @@ sub run { my $self = shift; # Start the application start_with_launcher('apps_menu_clocks'); - assert_screen ["apps_run_clocks", "apps_run_access"]; + assert_screen ["apps_run_clocks", "grant_access"]; # give access rights if asked - if (match_has_tag 'apps_run_access') { + if (match_has_tag 'grant_access') { click_lastmatch; assert_screen 'apps_run_clocks'; } diff --git a/tests/apps_startstop/gnome/maps.pm b/tests/apps_startstop/gnome/maps.pm index 3bb8c6b7..ed00973e 100644 --- a/tests/apps_startstop/gnome/maps.pm +++ b/tests/apps_startstop/gnome/maps.pm @@ -12,8 +12,8 @@ sub run { start_with_launcher('apps_menu_maps'); # Check that is started # give access rights if asked - if (check_screen('apps_run_access', 1)) { - assert_and_click 'apps_run_access'; + if (check_screen('grant_access', 1)) { + assert_and_click 'grant_access'; } assert_screen 'apps_run_maps'; # Register application diff --git a/tests/apps_startstop/gnome/weather.pm b/tests/apps_startstop/gnome/weather.pm index 71f14693..f973eae9 100644 --- a/tests/apps_startstop/gnome/weather.pm +++ b/tests/apps_startstop/gnome/weather.pm @@ -10,8 +10,8 @@ sub run { # start the application start_with_launcher('apps_menu_weather'); # give access rights if asked - if (check_screen('apps_run_access', 1)) { - assert_and_click 'apps_run_access'; + if (check_screen('grant_access', 1)) { + assert_and_click 'grant_access'; } wait_still_screen 2; assert_screen 'apps_run_weather';