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:
parent
6e77155bb3
commit
788b7167b1
15
needles/gnome/grant_access-gnome-20220707.json
Normal file
15
needles/gnome/grant_access-gnome-20220707.json
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"xpos": 589,
|
||||||
|
"height": 17,
|
||||||
|
"width": 92,
|
||||||
|
"type": "match",
|
||||||
|
"ypos": 456
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": [],
|
||||||
|
"tags": [
|
||||||
|
"grant_access"
|
||||||
|
]
|
||||||
|
}
|
BIN
needles/gnome/grant_access-gnome-20220707.png
Normal file
BIN
needles/gnome/grant_access-gnome-20220707.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 350 KiB |
@ -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';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user