1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-30 17:33:07 +00:00

Compare commits

...

2 Commits

Author SHA1 Message Date
Adam Williamson
5c62a909c8 Weather: handle app UI showing briefly before the access prompt
Exactly the same as the change for Maps from a few days back,
for the same reason.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-03-24 11:42:19 -07:00
Adam Williamson
a9fcc1071e Drop match level on a Maps 'issue opened' needle
The font rendering on this URL bar seems to be slightly unstable
for some reason. We got a 95% match on this needle in
https://openqa.fedoraproject.org/tests/1846906#step/about/10
so let's just bump the level down a bit.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-03-24 11:40:08 -07:00
2 changed files with 6 additions and 1 deletions

View File

@ -4,6 +4,7 @@
"xpos": 217,
"ypos": 82,
"type": "match",
"match": 92,
"width": 201,
"height": 27
}
@ -12,4 +13,4 @@
"tags": [
"maps_issues_opened"
]
}
}

View File

@ -12,6 +12,10 @@ sub run {
# Start the Application
menu_launch_type("weather");
assert_screen ["apps_run_weather", "grant_access"];
# sometimes we match apps_run_weather for a split second before
# grant_access appears, so handle that
wait_still_screen 3;
assert_screen ['apps_run_weather', 'grant_access'];
# give access rights if asked
if (match_has_tag 'grant_access') {
click_lastmatch;