mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-28 16:43:09 +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:
parent
97b7e7a0f0
commit
d5757b054c
@ -42,7 +42,7 @@ sub run {
|
|||||||
# didn't work, try again a few times
|
# didn't work, try again a few times
|
||||||
my $count = 4;
|
my $count = 4;
|
||||||
while ($count > 0) {
|
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);
|
last if (check_screen "cockpit_join_domain", 30);
|
||||||
}
|
}
|
||||||
assert_screen "cockpit_join_domain";
|
assert_screen "cockpit_join_domain";
|
||||||
|
Loading…
Reference in New Issue
Block a user