1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-25 07:13:09 +00:00

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

View File

@ -18,9 +18,6 @@ sub run {
# Now, we should be on Anaconda Main hub, but the hub differs for various # 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), # installation media. For each such media (ServerDVD, WS Live, KDE Live),
# we create a tailored test plan. # we create a tailored test plan.
#
# At first, we check for the main hub help.
check_help_on_pane("main");
# Create test plans # Create test plans
my @testplan; 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/; @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. # Iterate over test plan and do the tests.
foreach (@testplan) { foreach (@testplan) {
check_help_on_pane($_); check_help_on_pane($_);