From 657f29c399e31066258928b4817bdbb08aa08de2 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Thu, 12 Mar 2020 19:17:27 -0700 Subject: [PATCH] Set a timeout for the cockpit_services_detail check_screen Seems default for check_screen is 0, not 30 as I assumed. Signed-off-by: Adam Williamson --- tests/server_cockpit_basic.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/server_cockpit_basic.pm b/tests/server_cockpit_basic.pm index 13a719d0..3b5884f9 100644 --- a/tests/server_cockpit_basic.pm +++ b/tests/server_cockpit_basic.pm @@ -24,7 +24,7 @@ sub run { assert_and_click "cockpit_services_entry"; # 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_and_click "cockpit_services_entry" unless (check_screen "cockpit_services_detail", 10); assert_screen "cockpit_services_detail"; }