os-autoinst-distri-rocky-mi.../needles
Adam Williamson 4243932d09 Adjust desktop_login and needles for KDE power option changes
KDE in F34+ is now placing sleep, restart and shutdown buttons
right on the system menu, not in a submenu. So we need to sort of
tweak this logic. The approach here is: we count the GNOME
submenu as both a "power" and "leave" menu, so the needle to
enter it has both tags. KDE still has a "leave" submenu, but the
power options are not in a submenu any more, so the new "leave"
needle only has the leave tag, not the power tag. For "leave"
actions we just unconditionally expect the "leave" tag; for
power actions we first match on *either* the submenu tag (for
GNOME and earlier KDE) *or* the action tag, click whatever we
found, and then if we matched the submenu (not the action), we
assert and click the action. After that all paths should be in
sync again and we can continue.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-02-12 13:34:04 -08:00
..
anaconda Add version_34 identification needles, now we branched 2021-02-10 11:01:37 -08:00
background Add initial F34 background needles 2021-02-10 16:28:32 -08:00
browser Great Needle Cleanup 2020 2020-03-20 14:02:10 -07:00
cockpit Add a workaround needle for a cockpit radio button alignment bug 2021-02-10 16:29:16 -08:00
console Update root_logged_in-noprofile for bash 5.1 2021-01-11 15:47:19 -08:00
firefox Update several needles for KDE going all grimdark 2021-02-12 12:02:05 -08:00
freeipa Update password change needle and code to FreeIPA 4.8.9 2020-08-21 18:05:33 +03:00
gnome Adjust desktop_login and needles for KDE power option changes 2021-02-12 13:34:04 -08:00
iot Update Zezere submit provision request needle 2020-08-24 12:50:40 -07:00
kde Adjust desktop_login and needles for KDE power option changes 2021-02-12 13:34:04 -08:00
.keep Decoupled tools from tests 2015-01-26 14:43:01 +01:00