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

Try a different way to fix KDE live anaconda launch issues

Lately launching anaconda on the KDE live image seems pretty
unreliable and we're not sure why. My last attempt to fix it
doesn't seem to be working, here's another effort based on the
idea it might be caused by moving the mouse from the hidden
position to the icon and back again, let's try moving the mouse
close to the icon before we assert and click it...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2019-12-05 10:48:15 -08:00
parent 77ae127cce
commit 8f8563ff13

View File

@ -113,11 +113,9 @@ sub run {
else {
# on lives, we have to explicitly launch anaconda
if (get_var('LIVE')) {
assert_screen "live_start_anaconda_icon", 300;
# seems that clicking as soon as we see it sometimes
# fails on KDE, so wait a bit then click it
sleep 5;
click_lastmatch;
# try and avoid click errors on KDE...
mouse_set(10, 10) if (get_var("DESKTOP") eq "kde");
_assert_and_click("live_start_anaconda_icon", timeout=>300);
}
my $language = get_var('LANGUAGE') || 'english';
# wait for anaconda to appear; we click to work around