1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-24 03:03:08 +00:00

try to fix anaconda user creation

Differential Revision: https://phab.qadevel.cloud.fedoraproject.org/D326
This commit is contained in:
Garret Raziel 2015-04-03 10:27:31 +02:00
parent c866851e4b
commit 3146a72d99
7 changed files with 78 additions and 4 deletions

View 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": []
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

View 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"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

View 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"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

View File

@ -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;