From 8f888317b523918aa204f5f352102aba1f0e896c Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Fri, 25 Aug 2023 14:55:20 -0700 Subject: [PATCH] anaconda_help: create test plans before the first assert_screen So we can bail early enough on webUI. Signed-off-by: Adam Williamson --- tests/anaconda_help.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/anaconda_help.pm b/tests/anaconda_help.pm index fc4d3275..e01f91c0 100644 --- a/tests/anaconda_help.pm +++ b/tests/anaconda_help.pm @@ -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($_);