mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-05 13:31:24 +00:00
e33b635f41
When a package is unsigned, KDE will prompt for authentication. Let's handle this. But count it as a soft fail, because puiterwijk claims that Rawhide packages will be autosigned from next week, so this *should* not happen and would indicate an unsigned package in the repos. We make the KDE 'update complete' needle area smaller because the wider area includes some transparency and so will only match if the update applet is open; this area will match whether it's open (no auth case) or not open (auth case - the applet seems to disappear after you provide the password in the auth prompt). Pushing without review as the test is in production so I want to make sure it works correctly. (Also, hey, check out that array match for assert_screen and that match_has_tag! This is gonna make some things so much easier...thanks upstream)
16 lines
248 B
JSON
16 lines
248 B
JSON
{
|
|
"properties": [],
|
|
"area": [
|
|
{
|
|
"xpos": 254,
|
|
"ypos": 167,
|
|
"width": 71,
|
|
"height": 61,
|
|
"type": "match"
|
|
}
|
|
],
|
|
"tags": [
|
|
"DESKTOP-kde",
|
|
"desktop_package_tool_update_authenticate"
|
|
]
|
|
} |