mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-12-26 20:23:09 +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"
|
|
]
|
|
} |