1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-25 15:23:08 +00:00

try to fix the refresh.

This commit is contained in:
Lukas Ruzicka 2018-06-28 17:08:27 +02:00
parent fe1cb9f9d6
commit 65c62c63d6

View File

@ -46,11 +46,12 @@ sub run {
assert_and_click 'desktop_package_tool_update';
# sometimes, refreshing does not work when clicked too soon
#sleep 20;
wait_still_screen 20;
# if this is KDE and it had already noticed the notification, we
# will already have the apply button at this point
unless (check_screen 'desktop_package_tool_update_apply', 5) {
# refresh updates
click 'desktop_package_tool_update_refresh';
wait_still_screen 20;
assert_and_click 'desktop_package_tool_update_refresh', '', 120;
}
# wait for refresh, then apply updates, using a C-style loop so we