From d3c97a64be30a96cea1c424ad137814883fed639 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Tue, 22 Oct 2024 16:32:45 -0700 Subject: [PATCH] anaconda on wayland: also click on other spoke launchers It's not just Installation Destination, on aarch64 at least we have lots of tests failing because entering the source or software selection spokes didn't work. Let's try extra clicks for these too. Signed-off-by: Adam Williamson --- tests/_software_selection.pm | 4 ++++ tests/install_source_graphical.pm | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/tests/_software_selection.pm b/tests/_software_selection.pm index abc79b79..d7e319fc 100644 --- a/tests/_software_selection.pm +++ b/tests/_software_selection.pm @@ -28,6 +28,10 @@ sub run { } assert_and_click "anaconda_main_hub_select_packages"; + # as with installation destination, on wayland it seems like + # sometimes the first click is lost, so click twice + sleep 1; + click_lastmatch; wait_still_screen 3; # select desired environment diff --git a/tests/install_source_graphical.pm b/tests/install_source_graphical.pm index bd416317..3e16b891 100644 --- a/tests/install_source_graphical.pm +++ b/tests/install_source_graphical.pm @@ -58,6 +58,10 @@ sub run { # Go into the Install Source spoke assert_and_click "anaconda_main_hub_installation_source"; + # as with installation destination, on wayland it seems like + # sometimes the first click is lost, so click twice + sleep 1; + click_lastmatch; main_repo() if (get_var("REPOSITORY_GRAPHICAL") || get_var("MIRRORLIST_GRAPHICAL"));