mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-25 15:23:08 +00:00
Handle redesigned root password screen in new anaconda
Really this just boils down to needing an extra click. We can even just do the click in the old UI as well, it's not needed but won't hurt anything and keeps the code simple. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
e95515a740
commit
dc82c90abd
@ -0,0 +1,21 @@
|
|||||||
|
{
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"ypos": 309,
|
||||||
|
"height": 15,
|
||||||
|
"type": "match",
|
||||||
|
"xpos": 266,
|
||||||
|
"width": 63,
|
||||||
|
"click_point": {
|
||||||
|
"xpos": 6.5,
|
||||||
|
"ypos": 7.5
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": [],
|
||||||
|
"tags": [
|
||||||
|
"anaconda_install_root_password_screen",
|
||||||
|
"ENV-DISTRI-fedora",
|
||||||
|
"LANGUAGE-english"
|
||||||
|
]
|
||||||
|
}
|
Binary file not shown.
After Width: | Height: | Size: 53 KiB |
@ -11,7 +11,10 @@ sub _set_root_password {
|
|||||||
my $root_password = get_var("ROOT_PASSWORD") || "weakpassword";
|
my $root_password = get_var("ROOT_PASSWORD") || "weakpassword";
|
||||||
unless (get_var("INSTALLER_NO_ROOT")) {
|
unless (get_var("INSTALLER_NO_ROOT")) {
|
||||||
assert_and_click "anaconda_install_root_password";
|
assert_and_click "anaconda_install_root_password";
|
||||||
assert_screen "anaconda_install_root_password_screen";
|
# from anaconda-35.22.1 onwards, we have to click 'enable root
|
||||||
|
# account' before typing the password. For older versions,
|
||||||
|
# clicking this needle does nothing but is harmless
|
||||||
|
assert_and_click "anaconda_install_root_password_screen";
|
||||||
# wait out animation
|
# wait out animation
|
||||||
wait_still_screen 2;
|
wait_still_screen 2;
|
||||||
desktop_switch_layout("ascii", "anaconda") if (get_var("SWITCHED_LAYOUT"));
|
desktop_switch_layout("ascii", "anaconda") if (get_var("SWITCHED_LAYOUT"));
|
||||||
|
Loading…
Reference in New Issue
Block a user