mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-12-22 02:13:08 +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
@ -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 New Issue
Block a user