diff --git a/tests/server_cockpit_basic.pm b/tests/server_cockpit_basic.pm index f4a60b7a..80747c8a 100644 --- a/tests/server_cockpit_basic.pm +++ b/tests/server_cockpit_basic.pm @@ -23,7 +23,9 @@ sub run { wait_still_screen 2; # click on an entry assert_and_click "cockpit_services_entry"; - # check we get to a detail screen + # check we get to the appropriate detail screen...but this click + # often gets lost for some reason, so retry it once + assert_and_click "cockpit_services_entry" unless (check_screen "cockpit_services_detail"); assert_screen "cockpit_services_detail"; }