From 89b717919e5284d4b6e285c39c85c7e52870512b Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Mon, 31 Aug 2015 17:02:27 -0700 Subject: [PATCH] small fix: wait a sec between clicks of 'Done' in no_swap I've seen no_swap fail several times with the 'Click for details or press Done again to continue.' message showing (e.g. job 967 on BOS). I think this is just because sometimes we try and click Done too fast, so introduce a 1-second sleep between Done clicks to try and solve that. --- tests/disk_custom_no_swap.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/disk_custom_no_swap.pm b/tests/disk_custom_no_swap.pm index 8f0f8868..197907bc 100644 --- a/tests/disk_custom_no_swap.pm +++ b/tests/disk_custom_no_swap.pm @@ -14,6 +14,8 @@ sub run { $self->custom_delete_part('swap'); assert_and_click "anaconda_spoke_done"; # Deleting swap shows a warning and requires a second click to confirm + # Wait a sec first, otherwise sometimes we click too fast + sleep 1; assert_and_click "anaconda_spoke_done"; assert_and_click "anaconda_part_accept_changes";