From 1c692ef6d62648cdf942c5f3a819dba3c47990ac Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Fri, 4 Dec 2020 16:15:33 -0800 Subject: [PATCH] Add a wait to custom_change_fs Otherwise we can immediately match 'fs is already selected' for the *previously selected* fs before the UI updates and exit without actually changing the fs of the intended partition. Signed-off-by: Adam Williamson --- lib/anaconda.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/anaconda.pm b/lib/anaconda.pm index 4d9b3749..593863d1 100644 --- a/lib/anaconda.pm +++ b/lib/anaconda.pm @@ -251,6 +251,7 @@ sub custom_change_fs { my ($fs, $part) = @_; $part ||= "root"; assert_and_click "anaconda_part_select_$part"; + wait_still_screen 5; # if fs is already set correctly, do nothing return if (check_screen "anaconda_part_fs_${fs}_selected", 5); assert_and_click "anaconda_part_fs";