From dd6b502b04f56c94a13dfe05e1d0a51889fb7998 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Fri, 14 Oct 2022 10:20:15 +0200 Subject: [PATCH] server_cockpit_basic: more defensive waiting Boy this seems slow in Rawhide currently. This has the effect of being more defensive around the services page load. Signed-off-by: Adam Williamson --- tests/server_cockpit_basic.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/server_cockpit_basic.pm b/tests/server_cockpit_basic.pm index b2072635..3773a9f7 100644 --- a/tests/server_cockpit_basic.pm +++ b/tests/server_cockpit_basic.pm @@ -34,10 +34,10 @@ sub run { record_soft_failure "Accessing log entry took a long time"; } # go to the services screen - assert_and_click "cockpit_services"; + wait_screen_change { assert_and_click "cockpit_services"; }; wait_still_screen(timeout => 90, stilltime => 5); # click on an entry - if (check_screen "cockpit_services_entry") { + if (check_screen "cockpit_services_entry", 30) { click_lastmatch; } else {