mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-12-25 20:20:56 +00:00
cockpit: retry the 'services entry' click if it fails
cockpit test often seems to fail because the click on a services entry to open the services detail screen just gets lost. Let's wait longer before trying it, and retry once if it fails. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
3fe3fc453c
commit
cf709af13c
1 changed files with 3 additions and 1 deletions
|
@ -23,7 +23,9 @@ sub run {
|
|||
wait_still_screen 2;
|
||||
# click on an entry
|
||||
assert_and_click "cockpit_services_entry";
|
||||
# check we get to a detail screen
|
||||
# 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_screen "cockpit_services_detail";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue