Cockpit 232 fixes
Update a needle with slightly different text rendering, and add a workaround to hit tab three times rather than once on entering the "Join a domain" screen, see https://github.com/cockpit-project/cockpit/issues/14895 . Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
fde492aa5d
commit
649fcc51f1
15
needles/cockpit/join_domain-20201111.json
Normal file
15
needles/cockpit/join_domain-20201111.json
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"ypos": 201,
|
||||||
|
"xpos": 255,
|
||||||
|
"width": 156,
|
||||||
|
"type": "match",
|
||||||
|
"height": 24
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": [],
|
||||||
|
"tags": [
|
||||||
|
"cockpit_join_domain"
|
||||||
|
]
|
||||||
|
}
|
BIN
needles/cockpit/join_domain-20201111.png
Normal file
BIN
needles/cockpit/join_domain-20201111.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 68 KiB |
@ -27,13 +27,13 @@ sub run {
|
|||||||
# optional as it's not really part of the test
|
# optional as it's not really part of the test
|
||||||
script_run "dnf -y install sssd-tools", 220;
|
script_run "dnf -y install sssd-tools", 220;
|
||||||
script_run "sss_debuglevel 9";
|
script_run "sss_debuglevel 9";
|
||||||
|
my $cockpitver = script_output 'rpm -q cockpit --queryformat "%{VERSION}\n"';
|
||||||
# run firefox and login to cockpit
|
# run firefox and login to cockpit
|
||||||
# note: we can't use wait_screen_change, wait_still_screen or
|
# note: we can't use wait_screen_change, wait_still_screen or
|
||||||
# check_type_string in cockpit because of that fucking constantly
|
# check_type_string in cockpit because of that fucking constantly
|
||||||
# scrolling graph
|
# scrolling graph
|
||||||
start_cockpit(1);
|
start_cockpit(1);
|
||||||
# on cockpit 209+ we have to scroll down before the button is
|
# we may have to scroll down before the button is visible
|
||||||
# visible
|
|
||||||
if (check_screen "cockpit_join_domain_button", 5) {
|
if (check_screen "cockpit_join_domain_button", 5) {
|
||||||
click_lastmatch;
|
click_lastmatch;
|
||||||
}
|
}
|
||||||
@ -46,8 +46,10 @@ sub run {
|
|||||||
assert_and_click "cockpit_join_domain_button", 5;
|
assert_and_click "cockpit_join_domain_button", 5;
|
||||||
}
|
}
|
||||||
assert_screen "cockpit_join_domain";
|
assert_screen "cockpit_join_domain";
|
||||||
send_key "tab";
|
# we need to hit tab three times to reach 'Domain address' in
|
||||||
sleep 3;
|
# cockpit 232: https://github.com/cockpit-project/cockpit/issues/14895
|
||||||
|
my $tabs = $cockpitver eq "232" ? "\t\t\t" : "\t";
|
||||||
|
type_string($tabs, 4);
|
||||||
type_string("ipa001.domain.local", 4);
|
type_string("ipa001.domain.local", 4);
|
||||||
type_string("\t\t", 4);
|
type_string("\t\t", 4);
|
||||||
type_string("admin", 4);
|
type_string("admin", 4);
|
||||||
|
Loading…
Reference in New Issue
Block a user