mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-12 01:44:21 +00:00
try to fix anaconda user creation
Differential Revision: https://phab.qadevel.cloud.fedoraproject.org/D326
This commit is contained in:
parent
c866851e4b
commit
3146a72d99
32
needles/anaconda_install_root_password_screen.json
Normal file
32
needles/anaconda_install_root_password_screen.json
Normal file
@ -0,0 +1,32 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 8,
|
||||
"ypos": 8,
|
||||
"width": 140,
|
||||
"height": 18,
|
||||
"type": "match"
|
||||
},
|
||||
{
|
||||
"xpos": 8,
|
||||
"ypos": 46,
|
||||
"width": 63,
|
||||
"height": 32,
|
||||
"type": "match"
|
||||
},
|
||||
{
|
||||
"xpos": 242,
|
||||
"ypos": 130,
|
||||
"width": 96,
|
||||
"height": 16,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
"anaconda_install_root_password_screen",
|
||||
"ENV-DISTRI-fedora",
|
||||
"ENV-INSTLANG-en_US",
|
||||
"ENV-FLAVOR-server"
|
||||
],
|
||||
"properties": []
|
||||
}
|
BIN
needles/anaconda_install_root_password_screen.png
Normal file
BIN
needles/anaconda_install_root_password_screen.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 20 KiB |
25
needles/anaconda_install_user_creation_screen.json
Normal file
25
needles/anaconda_install_user_creation_screen.json
Normal file
@ -0,0 +1,25 @@
|
||||
{
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"anaconda_install_user_creation_screen",
|
||||
"ENV-DISTRI-fedora",
|
||||
"ENV-INSTLANG-en_US",
|
||||
"ENV-FLAVOR-server"
|
||||
],
|
||||
"area": [
|
||||
{
|
||||
"xpos": 4,
|
||||
"ypos": 7,
|
||||
"width": 107,
|
||||
"height": 20,
|
||||
"type": "match"
|
||||
},
|
||||
{
|
||||
"xpos": 6,
|
||||
"ypos": 47,
|
||||
"width": 66,
|
||||
"height": 33,
|
||||
"type": "match"
|
||||
}
|
||||
]
|
||||
}
|
BIN
needles/anaconda_install_user_creation_screen.png
Normal file
BIN
needles/anaconda_install_user_creation_screen.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 26 KiB |
18
needles/anaconda_user_creation_password_input.json
Normal file
18
needles/anaconda_user_creation_password_input.json
Normal file
@ -0,0 +1,18 @@
|
||||
{
|
||||
"tags": [
|
||||
"anaconda_user_creation_password_input",
|
||||
"ENV-DISTRI-fedora",
|
||||
"ENV-INSTLANG-en_US",
|
||||
"ENV-FLAVOR-server"
|
||||
],
|
||||
"properties": [],
|
||||
"area": [
|
||||
{
|
||||
"xpos": 270,
|
||||
"ypos": 285,
|
||||
"width": 243,
|
||||
"height": 25,
|
||||
"type": "match"
|
||||
}
|
||||
]
|
||||
}
|
BIN
needles/anaconda_user_creation_password_input.png
Normal file
BIN
needles/anaconda_user_creation_password_input.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 28 KiB |
@ -12,6 +12,7 @@ sub run {
|
||||
# Set root password
|
||||
my $root_password = get_var("ROOT_PASSWORD") || "weakpassword";
|
||||
assert_and_click "anaconda_install_root_password";
|
||||
assert_screen "anaconda_install_root_password_screen";
|
||||
type_string $root_password;
|
||||
send_key "tab";
|
||||
type_string $root_password;
|
||||
@ -24,11 +25,9 @@ sub run {
|
||||
my $user_login = get_var("USER_LOGIN") || "test";
|
||||
my $user_password = get_var("USER_PASSWORD") || "weakpassword";
|
||||
assert_and_click "anaconda_install_user_creation";
|
||||
assert_screen "anaconda_install_user_creation_screen";
|
||||
type_string $user_login;
|
||||
send_key "tab";
|
||||
send_key "tab";
|
||||
send_key "tab";
|
||||
send_key "tab";
|
||||
assert_and_click "anaconda_user_creation_password_input";
|
||||
type_string $user_password;
|
||||
send_key "tab";
|
||||
type_string $user_password;
|
||||
|
Loading…
Reference in New Issue
Block a user