mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-21 21:43: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:
parent
db34513524
commit
dc1f3dcdf3
@ -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");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user