1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-22 10:23:09 +00:00

clocks: add missing needle, improve tag name

That last commit to 'fix' the Clocks tests when Silverblue needs
location access to be granted wasn't complete, I left the needle
out. D'oh. Take the chance to give it a better name too.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2022-07-07 14:28:59 -07:00
parent 6e77155bb3
commit 788b7167b1
3 changed files with 17 additions and 2 deletions

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 589,
"height": 17,
"width": 92,
"type": "match",
"ypos": 456
}
],
"properties": [],
"tags": [
"grant_access"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 350 KiB

View File

@ -22,9 +22,9 @@ sub run {
# Start the Application # Start the Application
menu_launch_type("clocks"); menu_launch_type("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';
} }