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

Sleep a bit before clicking the anaconda icon on live install

KDE tests are quite frequently failing lately because anaconda
doesn't launch. I'm hoping this will help.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2019-11-22 09:54:47 -08:00
parent 25cce2361c
commit 0b210fe44c

View File

@ -113,7 +113,11 @@ sub run {
else {
# on lives, we have to explicitly launch anaconda
if (get_var('LIVE')) {
_assert_and_click("live_start_anaconda_icon", timeout=>300);
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;
}
my $language = get_var('LANGUAGE') || 'english';
# wait for anaconda to appear; we click to work around