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 <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2022-10-14 10:20:15 +02:00
parent 25ed1e236d
commit dd6b502b04
1 changed files with 2 additions and 2 deletions

View File

@ -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 {