mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-21 21:43:08 +00:00
Wiggle the mouse during install
Seems with the long period of not doing anything and possibly with very aggressive timeouts in Fedora 28, Workstation live wants to blank the screen while we're installing. Stop it. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
0915b857f9
commit
71bfb896a4
@ -76,7 +76,17 @@ sub run {
|
||||
if (lc(get_var('VERSION')) eq "rawhide") {
|
||||
$timeout = 2400;
|
||||
}
|
||||
assert_screen "anaconda_install_done", $timeout;
|
||||
# workstation especially has an unfortunate habit of kicking in
|
||||
# the screensaver during install...
|
||||
my $interval = 60;
|
||||
while ($timeout > 0) {
|
||||
# move the mouse a bit
|
||||
mouse_set 100, 100;
|
||||
mouse_hide;
|
||||
last if (check_screen "anaconda_install_done", $interval);
|
||||
$timeout -= $interval;
|
||||
}
|
||||
assert_screen "anaconda_install_done";
|
||||
# wait for transition to complete so we don't click in the sidebar
|
||||
wait_still_screen 3;
|
||||
# for the memory check test, we *don't* want to leave
|
||||
|
Loading…
Reference in New Issue
Block a user