mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-12-18 09:08:29 +00:00
realmd_join_cockpit: only hit tab twice for Cockpit 245+
Since 232, there's been a bug where we need to hit tab three times to get into the first field in the "Join domain" dialog. In 245, it's down to two times, for some reason. So, handle that. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
c8004201ae
commit
f38dc4cfe1
@ -45,9 +45,12 @@ sub run {
|
||||
assert_and_click "cockpit_join_domain_button", 5;
|
||||
}
|
||||
assert_screen "cockpit_join_domain";
|
||||
my $tabs = "\t";
|
||||
# we need to hit tab three times to reach 'Domain address' in
|
||||
# cockpit 232: https://github.com/cockpit-project/cockpit/issues/14895
|
||||
my $tabs = $cockpitver > 231 ? "\t\t\t" : "\t";
|
||||
# cockpit 232-244: https://github.com/cockpit-project/cockpit/issues/14895
|
||||
$tabs = "\t\t\t" if ($cockpitver > 231);
|
||||
# ...in 245+ it's down to two times, for some reason
|
||||
$tabs = "\t\t" if ($cockpitver > 244);
|
||||
type_string($tabs, 4);
|
||||
type_string("ipa001.test.openqa.fedoraproject.org", 4);
|
||||
type_string("\t\t", 4);
|
||||
|
Loading…
Reference in New Issue
Block a user