Correct 'grant_access' needle name in several tests
Several tests still had the old 'apps_run_access' name which we changed some time ago, so these safety checks weren't working. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
039f3c265e
commit
51e7b28978
|
@ -12,8 +12,8 @@ sub run {
|
||||||
start_with_launcher('apps_menu_calendar');
|
start_with_launcher('apps_menu_calendar');
|
||||||
|
|
||||||
# give access to location if the vm asks for it
|
# give access to location if the vm asks for it
|
||||||
if (check_screen('apps_run_access', 1)) {
|
if (check_screen('grant_access', 1)) {
|
||||||
assert_and_click 'apps_run_access';
|
assert_and_click 'grant_access';
|
||||||
}
|
}
|
||||||
wait_still_screen 2;
|
wait_still_screen 2;
|
||||||
assert_screen 'apps_run_calendar';
|
assert_screen 'apps_run_calendar';
|
||||||
|
|
|
@ -9,9 +9,9 @@ sub run {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
# Start the application
|
# Start the application
|
||||||
start_with_launcher('apps_menu_clocks');
|
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
|
# give access rights if asked
|
||||||
if (match_has_tag 'apps_run_access') {
|
if (match_has_tag 'grant_access') {
|
||||||
click_lastmatch;
|
click_lastmatch;
|
||||||
assert_screen 'apps_run_clocks';
|
assert_screen 'apps_run_clocks';
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,8 +12,8 @@ sub run {
|
||||||
start_with_launcher('apps_menu_maps');
|
start_with_launcher('apps_menu_maps');
|
||||||
# Check that is started
|
# Check that is started
|
||||||
# give access rights if asked
|
# give access rights if asked
|
||||||
if (check_screen('apps_run_access', 1)) {
|
if (check_screen('grant_access', 1)) {
|
||||||
assert_and_click 'apps_run_access';
|
assert_and_click 'grant_access';
|
||||||
}
|
}
|
||||||
assert_screen 'apps_run_maps';
|
assert_screen 'apps_run_maps';
|
||||||
# Register application
|
# Register application
|
||||||
|
|
|
@ -10,8 +10,8 @@ sub run {
|
||||||
# start the application
|
# start the application
|
||||||
start_with_launcher('apps_menu_weather');
|
start_with_launcher('apps_menu_weather');
|
||||||
# give access rights if asked
|
# give access rights if asked
|
||||||
if (check_screen('apps_run_access', 1)) {
|
if (check_screen('grant_access', 1)) {
|
||||||
assert_and_click 'apps_run_access';
|
assert_and_click 'grant_access';
|
||||||
}
|
}
|
||||||
wait_still_screen 2;
|
wait_still_screen 2;
|
||||||
assert_screen 'apps_run_weather';
|
assert_screen 'apps_run_weather';
|
||||||
|
|
Loading…
Reference in New Issue