1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-08-23 07:35:44 +00:00

desktop_update_graphical: deal with annoying notification

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2025-08-07 23:23:54 +02:00
parent 039780f483
commit 0bf2003526
3 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,22 @@
{
"area": [
{
"xpos": 267,
"ypos": 82,
"width": 174,
"height": 15,
"type": "match"
},
{
"xpos": 739,
"ypos": 53,
"width": 13,
"height": 12,
"type": "match"
}
],
"properties": [],
"tags": [
"desktop_update_notification_ready"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 KiB

View File

@ -54,6 +54,8 @@ sub run {
}
# wait out a possible animation
wait_still_screen 5;
# get rid of a possible notification
click_lastmatch if (check_screen 'desktop_update_notification_ready');
assert_and_click 'desktop_package_tool_update';
# wait for things to settle if e.g. GNOME is refreshing
wait_still_screen 5, 90;