1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-24 23:03:08 +00:00

Fix assert_and_click call in realmd_join_cockpit

This was just doing something silly before, but with recent
os-autoinst having function signatures, it actually causes the
test to fail because '5' isn't a sane value for the argument
this was setting before. Fix it to set the timeout, as it was
trying to do all along.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2022-06-27 09:21:48 -07:00
parent 97b7e7a0f0
commit d5757b054c

View File

@ -42,7 +42,7 @@ sub run {
# didn't work, try again a few times
my $count = 4;
while ($count > 0) {
assert_and_click "cockpit_join_domain_button", 5;
assert_and_click "cockpit_join_domain_button", timeout=>5;
last if (check_screen "cockpit_join_domain", 30);
}
assert_screen "cockpit_join_domain";