mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-25 07:13:09 +00:00
cockpit: enable admin mode after logging in as test
Sigh, this is a pain and adds more fragile needles. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
0646dc64ad
commit
b388c6fc94
@ -29,6 +29,10 @@ sub start_cockpit {
|
|||||||
wait_screen_change { send_key "tab"; };
|
wait_screen_change { send_key "tab"; };
|
||||||
type_safely get_var("USER_PASSWORD", "weakpassword");
|
type_safely get_var("USER_PASSWORD", "weakpassword");
|
||||||
send_key "ret";
|
send_key "ret";
|
||||||
|
assert_and_click "cockpit_admin_enable";
|
||||||
|
assert_screen "cockpit_admin_password";
|
||||||
|
type_safely get_var("USER_PASSWORD", "weakpassword");
|
||||||
|
send_key "ret";
|
||||||
assert_screen "cockpit_main";
|
assert_screen "cockpit_main";
|
||||||
# wait for any animation or other weirdness
|
# wait for any animation or other weirdness
|
||||||
# can't use wait_still_screen because of that damn graph
|
# can't use wait_still_screen because of that damn graph
|
||||||
|
15
needles/cockpit/cockpit_admin_enable-20221119.json
Normal file
15
needles/cockpit/cockpit_admin_enable-20221119.json
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"xpos": 298,
|
||||||
|
"ypos": 245,
|
||||||
|
"width": 101,
|
||||||
|
"height": 15,
|
||||||
|
"type": "match"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": [],
|
||||||
|
"tags": [
|
||||||
|
"cockpit_admin_enable"
|
||||||
|
]
|
||||||
|
}
|
BIN
needles/cockpit/cockpit_admin_enable-20221119.png
Normal file
BIN
needles/cockpit/cockpit_admin_enable-20221119.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 80 KiB |
15
needles/cockpit/cockpit_admin_password-20221119.json
Normal file
15
needles/cockpit/cockpit_admin_password-20221119.json
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"xpos": 256,
|
||||||
|
"ypos": 397,
|
||||||
|
"width": 119,
|
||||||
|
"height": 17,
|
||||||
|
"type": "match"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": [],
|
||||||
|
"tags": [
|
||||||
|
"cockpit_admin_password"
|
||||||
|
]
|
||||||
|
}
|
BIN
needles/cockpit/cockpit_admin_password-20221119.png
Normal file
BIN
needles/cockpit/cockpit_admin_password-20221119.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 83 KiB |
Loading…
Reference in New Issue
Block a user