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"; };
|
||||
type_safely get_var("USER_PASSWORD", "weakpassword");
|
||||
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";
|
||||
# wait for any animation or other weirdness
|
||||
# can't use wait_still_screen because of that damn graph
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 298,
|
||||
"ypos": 245,
|
||||
"width": 101,
|
||||
"height": 15,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"cockpit_admin_enable"
|
||||
]
|
||||
}
|
Binary file not shown.
After Width: | Height: | Size: 80 KiB |
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 256,
|
||||
"ypos": 397,
|
||||
"width": 119,
|
||||
"height": 17,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"cockpit_admin_password"
|
||||
]
|
||||
}
|
Binary file not shown.
After Width: | Height: | Size: 83 KiB |
Loading…
Reference in New Issue