panel: also handle permission request for Clocks

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2023-04-14 13:54:37 -07:00
parent 1264ce4aca
commit 8bc74fd5dc
1 changed files with 5 additions and 1 deletions

View File

@ -27,7 +27,11 @@ sub run {
# Check that when we click on World Clocks area
# the clock application will be shown.
assert_and_click("panel_add_world_clocks");
assert_and_click("apps_run_clocks");
assert_screen(["apps_run_clocks", "grant_access"]);
click_lastmatch;
if (match_has_tag("grant_access")) {
assert_and_click("apps_run_clocks");
}
send_key("alt-f4");
wait_still_screen(2);
#