From d2dbfb0f7f3062d12f7d412703ca274795c6fe2d Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Tue, 3 Jun 2025 07:58:30 -0700 Subject: [PATCH] cockpit updates: wait out a UI reload issue See https://github.com/cockpit-project/cockpit/issues/22064 Signed-off-by: Adam Williamson --- tests/server_cockpit_updates.pm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/server_cockpit_updates.pm b/tests/server_cockpit_updates.pm index a7f76a12..80f8f3a6 100644 --- a/tests/server_cockpit_updates.pm +++ b/tests/server_cockpit_updates.pm @@ -23,6 +23,11 @@ sub run { # Install the rest of the updates, or any updates # that have not been previously installed. + assert_screen 'cockpit_updates_all_install'; + # it seems like sometimes the refresh process clears briefly then + # comes back, so we'll wait it out + # https://github.com/cockpit-project/cockpit/issues/22064 + wait_still_screen 3; assert_and_click 'cockpit_updates_all_install'; my $run = 0; while ($run < 40) {