1
0
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:
Adam Williamson 2023-04-28 15:57:46 -07:00
parent 039f3c265e
commit 51e7b28978
4 changed files with 8 additions and 8 deletions

View File

@ -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';

View File

@ -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';
}

View File

@ -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

View File

@ -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';