From 45381f33ffa9a50cb472242d102a2bf851dabfbb Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Mon, 31 May 2021 15:22:43 -0700 Subject: [PATCH] anaconda_help: change the check for root password creation Seems silly to wait 120 seconds when we know what the criteria are. GNOME installs, can't do this; others, we have to. Signed-off-by: Adam Williamson --- tests/anaconda_help.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/anaconda_help.pm b/tests/anaconda_help.pm index 2efced71..a430dba5 100644 --- a/tests/anaconda_help.pm +++ b/tests/anaconda_help.pm @@ -47,10 +47,10 @@ sub run { } # Now, we will start the installation. - # As we have not created any root password, or any user, on non-live systems - # the Begin Installation button may be greyed out. If this is the situation, - # we will create the root password to override this. - unless (check_screen "anaconda_main_hub_begin_installation", 120) { + # on GNOME installs (Workstation Live and Silverblue) we don't + # need to set a root password or create a user; on other flavors + # we must + unless (get_var("DESKTOP") eq "gnome" ) { assert_and_click "anaconda_main_hub_root_password"; type_safely "weakrootpassword"; send_key "tab";