From dd6b502b04f56c94a13dfe05e1d0a51889fb7998 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Oct 14 2022 08:20:15 +0000 Subject: 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 --- diff --git a/tests/server_cockpit_basic.pm b/tests/server_cockpit_basic.pm index b207263..3773a9f 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 {