mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2025-02-21 14:54:31 +00:00
Find exceptions.
This commit is contained in:
parent
feb46bc090
commit
79d5719c33
@ -34,10 +34,25 @@ sub run {
|
|||||||
# Skip adding the second keyboard, we are not interested anyway.
|
# Skip adding the second keyboard, we are not interested anyway.
|
||||||
assert_and_click "win_setup_skip";
|
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.
|
||||||
|
|
||||||
|
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
|
# Join a local domain
|
||||||
assert_and_click("win_setup_local_account", timeout=>600);
|
assert_and_click("win_setup_local_account");
|
||||||
|
}
|
||||||
assert_and_click "win_setup_bluenext";
|
assert_and_click "win_setup_bluenext";
|
||||||
|
|
||||||
# Fill-in the account name
|
# Fill-in the account name
|
||||||
|
Loading…
Reference in New Issue
Block a user