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:
parent
77ae127cce
commit
8f8563ff13
@ -113,11 +113,9 @@ sub run {
|
|||||||
else {
|
else {
|
||||||
# on lives, we have to explicitly launch anaconda
|
# on lives, we have to explicitly launch anaconda
|
||||||
if (get_var('LIVE')) {
|
if (get_var('LIVE')) {
|
||||||
assert_screen "live_start_anaconda_icon", 300;
|
# try and avoid click errors on KDE...
|
||||||
# seems that clicking as soon as we see it sometimes
|
mouse_set(10, 10) if (get_var("DESKTOP") eq "kde");
|
||||||
# fails on KDE, so wait a bit then click it
|
_assert_and_click("live_start_anaconda_icon", timeout=>300);
|
||||||
sleep 5;
|
|
||||||
click_lastmatch;
|
|
||||||
}
|
}
|
||||||
my $language = get_var('LANGUAGE') || 'english';
|
my $language = get_var('LANGUAGE') || 'english';
|
||||||
# wait for anaconda to appear; we click to work around
|
# wait for anaconda to appear; we click to work around
|
||||||
|
Loading…
Reference in New Issue
Block a user