mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-23 21:51:27 +00:00
Update realmd_join_cockpit for Cockpit 209
We need a couple of new needles, plus the 'join domain' button has disappeared from the front page due to the very inefficient UI redesign, so we need to scroll down to find it. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
5d59834a36
commit
beba6426b1
15
needles/cockpit/join_complete-20191214.json
Normal file
15
needles/cockpit/join_complete-20191214.json
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"type": "match",
|
||||
"width": 348,
|
||||
"ypos": 577,
|
||||
"height": 18,
|
||||
"xpos": 379
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"cockpit_join_complete"
|
||||
]
|
||||
}
|
BIN
needles/cockpit/join_complete-20191214.png
Normal file
BIN
needles/cockpit/join_complete-20191214.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 61 KiB |
15
needles/cockpit/join_domain_button-link-20191214.json
Normal file
15
needles/cockpit/join_domain_button-link-20191214.json
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"type": "match",
|
||||
"width": 94,
|
||||
"ypos": 579,
|
||||
"xpos": 633,
|
||||
"height": 15
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"cockpit_join_domain_button"
|
||||
]
|
||||
}
|
BIN
needles/cockpit/join_domain_button-link-20191214.png
Normal file
BIN
needles/cockpit/join_domain_button-link-20191214.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 61 KiB |
@ -26,7 +26,19 @@ sub run {
|
||||
# check_type_string in cockpit because of that fucking constantly
|
||||
# scrolling graph
|
||||
start_cockpit(1);
|
||||
assert_and_click "cockpit_join_domain_button";
|
||||
# on cockpit 209+ we have to scroll down before the button is
|
||||
# visible
|
||||
if (check_screen "cockpit_join_domain_button", 5) {
|
||||
click_lastmatch;
|
||||
}
|
||||
else {
|
||||
# to activate the right pane
|
||||
assert_and_click "cockpit_main";
|
||||
send_key "pgdn";
|
||||
# wait out scroll...
|
||||
wait_still_screen 2;
|
||||
assert_and_click "cockpit_join_domain_button", 5;
|
||||
}
|
||||
assert_screen "cockpit_join_domain";
|
||||
send_key "tab";
|
||||
sleep 3;
|
||||
|
Loading…
Reference in New Issue
Block a user