mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-14 09:11:26 +00:00
aca7de2861
Well, that OCR needle isn't working out so great, as it seems to match when it shouldn't: https://openqa.fedoraproject.org/tests/119217#step/_graphical_wait_login/5 So let's try another approach. Ditch the OCR needle and have a function for checking we're at a clean desktop. It does the normal needle match, but if we're on GNOME, it also tries hitting alt+f1 and seeing if we're at the overview; if so, it hits alt+f1 again (to go back to the desktop) and returns.
16 lines
267 B
JSON
16 lines
267 B
JSON
{
|
|
"area": [
|
|
{
|
|
"height": 45,
|
|
"type": "match",
|
|
"width": 45,
|
|
"xpos": 24,
|
|
"ypos": 657
|
|
}
|
|
],
|
|
"properties": [],
|
|
"tags": [
|
|
"DESKTOP-gnome",
|
|
"overview_app_grid"
|
|
]
|
|
} |