1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-02-17 21:14:32 +00:00

Find exceptions.

This commit is contained in:
Lukáš Růžička 2019-11-05 14:48:49 +01:00
parent feb46bc090
commit 79d5719c33

View File

@ -34,10 +34,25 @@ sub run {
# Skip adding the second keyboard, we are not interested anyway.
assert_and_click "win_setup_skip";
# If no internet is detected, deal with no internet.
# If no internet is detected, deal with no internet else connect
# to a local domain.
# Join a local domain
assert_and_click("win_setup_local_account", timeout=>600);
my $counter = 0
while (!checkscreen("win_setup_no_internet") or !checkscreen("win_setup_local_account")) {
sleep 10;
$counter += 1;
if ($counter>60) {
die "No matches for no_internet or local_account needles have been found.";
}
}
if (check_screen("win_setup_no_internet")) {
assert_and_click "win_setup_dont_have_net";
assert_and_click "win_setup_limited";
} else {
# Join a local domain
assert_and_click("win_setup_local_account");
}
assert_and_click "win_setup_bluenext";
# Fill-in the account name