1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-25 07:13:09 +00:00

Handle anaconda giving users admin by default in Rawhide

As of today's Rawhide compose, user accounts added in Rawhide
have admin privs by default. For now we need to handle both
possibilities here (click the box if it's not clicked already);
after F35 EOL we can just drop all handling of that box.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2022-01-18 11:36:06 -08:00
parent d5ca75cb04
commit 8e414cc469
11 changed files with 85 additions and 1 deletions

View File

@ -852,7 +852,11 @@ sub anaconda_create_user {
wait_still_screen 2;
_type_user_password();
}
assert_and_click "anaconda_install_user_creation_make_admin";
# FIXME: this is selected by default from F36 (20210118.n.0) on.
# we can drop this block and associated needles entirely on F35 EOL
unless (check_screen "anaconda_install_user_creation_admin_selected") {
assert_and_click "anaconda_install_user_creation_make_admin";
}
assert_and_click "anaconda_spoke_done";
# since 20170105, we will get a warning here when the password
# contains non-ASCII characters. Assume only switched layouts

View File

@ -0,0 +1,16 @@
{
"area": [
{
"type": "match",
"height": 21,
"ypos": 188,
"xpos": 500,
"width": 185
}
],
"properties": [],
"tags": [
"LANGUAGE-arabic",
"anaconda_install_user_creation_admin_selected"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

View File

@ -0,0 +1,16 @@
{
"area": [
{
"width": 194,
"height": 21,
"ypos": 187,
"xpos": 344,
"type": "match"
}
],
"properties": [],
"tags": [
"LANGUAGE-english",
"anaconda_install_user_creation_admin_selected"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

View File

@ -0,0 +1,16 @@
{
"area": [
{
"width": 194,
"height": 21,
"ypos": 187,
"xpos": 344,
"type": "match"
}
],
"properties": [],
"tags": [
"LANGUAGE-english",
"anaconda_install_user_creation_admin_selected"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

View File

@ -0,0 +1,16 @@
{
"area": [
{
"width": 283,
"type": "match",
"ypos": 187,
"xpos": 248,
"height": 21
}
],
"properties": [],
"tags": [
"LANGUAGE-russian",
"anaconda_install_user_creation_admin_selected"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

View File

@ -0,0 +1,16 @@
{
"area": [
{
"width": 194,
"height": 21,
"ypos": 187,
"xpos": 344,
"type": "match"
}
],
"properties": [],
"tags": [
"LANGUAGE-english",
"anaconda_install_user_creation_admin_selected"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB