anaconda_help: create test plans before the first assert_screen

So we can bail early enough on webUI.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2023-08-25 14:55:20 -07:00
parent d9ebb56ebf
commit 8f888317b5
1 changed files with 3 additions and 3 deletions

View File

@ -18,9 +18,6 @@ sub run {
# Now, we should be on Anaconda Main hub, but the hub differs for various
# installation media. For each such media (ServerDVD, WS Live, KDE Live),
# we create a tailored test plan.
#
# At first, we check for the main hub help.
check_help_on_pane("main");
# Create test plans
my @testplan;
@ -50,6 +47,9 @@ sub run {
@testplan = qw/keyboard_layout language_support time_date installation_source select_packages install_destination network_host_name root_password user_creation/;
}
# At first, we check for the main hub help.
check_help_on_pane("main");
# Iterate over test plan and do the tests.
foreach (@testplan) {
check_help_on_pane($_);