1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-22 10:23:09 +00:00

More fiddling with this goddamn KDE logic loop

Man, this thing can get into a lot of states. Apparently somehow
it can go straight from refresh to reboot?

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2021-03-30 12:50:32 -07:00
parent 16ded56935
commit b9df4c4671

View File

@ -102,9 +102,11 @@ sub run {
assert_screen ['kde_offline_update_reboot', 'desktop_package_tool_update_apply']; assert_screen ['kde_offline_update_reboot', 'desktop_package_tool_update_apply'];
# break out if we reached the reboot button # break out if we reached the reboot button
last if (match_has_tag 'kde_offline_update_reboot'); last if (match_has_tag 'kde_offline_update_reboot');
# otherwise, try refresh and apply # otherwise, try refresh and apply or reboot
assert_and_click 'desktop_package_tool_update_refresh'; assert_and_click 'desktop_package_tool_update_refresh';
assert_and_click 'desktop_package_tool_update_apply'; assert_screen ['kde_offline_update_reboot', 'desktop_package_tool_update_apply'];
last if (match_has_tag 'kde_offline_update_reboot');
click_lastmatch;
} }
assert_and_click 'kde_offline_update_reboot'; assert_and_click 'kde_offline_update_reboot';
boot_to_login_screen; boot_to_login_screen;