1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-24 14:53:09 +00:00

Adapt to changed KDE upgrade flow

We have to hit a drop-down now before we can tell it to restart
automatically.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2024-10-04 23:25:51 -07:00
parent aebdf08eb5
commit b0e6f2bc0c
5 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,15 @@
{
"area": [
{
"type": "match",
"height": 15,
"xpos": 501,
"width": 99,
"ypos": 690
}
],
"properties": [],
"tags": [
"desktop_package_tool_action_select"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 204 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 499,
"width": 49,
"ypos": 629,
"type": "match",
"height": 16
}
],
"properties": [],
"tags": [
"desktop_package_tool_restart_automatically"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 213 KiB

View File

@ -80,6 +80,8 @@ sub run {
assert_and_click("desktop_package_tool_update_apply", timeout => 1200); assert_and_click("desktop_package_tool_update_apply", timeout => 1200);
# Once we click that button, we can check the checkbutton # Once we click that button, we can check the checkbutton
# for restarting the computer automatically. # for restarting the computer automatically.
assert_screen ["desktop_package_tool_restart_automatically", "desktop_package_tool_action_select"];
click_lastmatch if (match_has_tag "desktop_package_tool_action_select");
assert_and_click("desktop_package_tool_restart_automatically"); assert_and_click("desktop_package_tool_restart_automatically");
# When we see auth_required, it means the restart has been triggered # When we see auth_required, it means the restart has been triggered
# and we need to authorize it # and we need to authorize it