mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-21 21:43:08 +00:00
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');
|
||||
|
||||
# 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';
|
||||
|
@ -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';
|
||||
}
|
||||
|
@ -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
|
||||
|
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user