diff --git a/tests/windows_install.pm b/tests/windows_install.pm index 5fe5c436..3abbab21 100644 --- a/tests/windows_install.pm +++ b/tests/windows_install.pm @@ -6,7 +6,7 @@ use utils; sub run { my $self = shift; # Check whether we have arrived in the main installation screen. - assert_screen "win_setup_main", '', 300; # + assert_screen("win_setup_main", timeout=>300); # # Set up keyboard layouts or languages. For our purposes, a simple # click on the Next button will do. @@ -23,10 +23,10 @@ sub run { assert_and_click "win_setup_custom_install"; # The drive 0 will always be empty, so just click Next to continue - assert_and_click "win_setup_next", '', 60; + assert_and_click "win_setup_next",; # Confirm the region, the default US region will be ok. - assert_and_click "win_setup_yes", '', 600; + assert_and_click("win_setup_yes", timeout=>600); # Confirm the keyboard layout, the default US keyboard will be ok. assert_and_click "win_setup_yes"; @@ -37,7 +37,7 @@ sub run { # If no internet is detected, deal with no internet. # Join a local domain - assert_and_click "win_setup_local_account", '', 600; + assert_and_click("win_setup_local_account", timeout=>600); assert_and_click "win_setup_bluenext"; # Fill-in the account name