1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-22 02:13:08 +00:00

wait_still_screen after install completes

This should be a better fix for the problem of the install_done
needle matching in the sidebar gradient while the button is
transitioning. We just assert_screen first, then once we hit it,
we wait_still_screen for 3 seconds, then assert_and_click the
button.
This commit is contained in:
Adam Williamson 2016-05-06 13:15:13 -07:00
parent db34513524
commit dc1f3dcdf3

View File

@ -54,7 +54,10 @@ sub run {
if (lc(get_var('VERSION')) eq "rawhide") {
$timeout = 2400;
}
assert_and_click "anaconda_install_done", '', $timeout;
assert_screen "anaconda_install_done", '', $timeout;
# wait for transition to complete so we don't click in the sidebar
wait_still_screen 3;
assert_and_click "anaconda_install_done";
if (get_var('LIVE')) {
x11_start_program("reboot");
}