Add test for Arabic installation (revisited).

This commit is contained in:
Lukas Ruzicka 2018-05-11 14:09:24 +02:00
parent bd1b951f71
commit 8897fe45a6
61 changed files with 516 additions and 27 deletions

View File

@ -0,0 +1,16 @@
{
"tags": [
"anaconda_install_destination_encrypt_data",
"LANGUAGE-arabic"
],
"area": [
{
"xpos": 878,
"ypos": 558,
"width": 127,
"height": 23,
"type": "match"
}
],
"properties": []
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

View File

@ -0,0 +1,16 @@
{
"tags": [
"anaconda_install_destination_save_passphrase",
"LANGUAGE-arabic"
],
"area": [
{
"xpos": 240,
"ypos": 489,
"width": 104,
"height": 18,
"type": "match"
}
],
"properties": []
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

View File

@ -0,0 +1,16 @@
{
"properties": [],
"tags": [
"anaconda_install_done",
"LANGUAGE-arabic"
],
"area": [
{
"xpos": 21,
"ypos": 686,
"width": 51,
"height": 18,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

View File

@ -0,0 +1,16 @@
{
"tags": [
"LANGUAGE-arabic",
"anaconda_layout_native"
],
"properties": [],
"area": [
{
"xpos": 654,
"ypos": 373,
"width": 42,
"height": 14,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

View File

@ -0,0 +1,17 @@
{
"properties": [],
"area": [
{
"xpos": 661,
"ypos": 380,
"width": 37,
"height": 17,
"type": "match"
}
],
"tags": [
"anaconda_layout_ascii",
"anaconda_layout_us",
"LANGUAGE-arabic"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB

View File

@ -0,0 +1,16 @@
{
"properties": [],
"area": [
{
"xpos": 620,
"ypos": 122,
"width": 101,
"height": 18,
"type": "match"
}
],
"tags": [
"anaconda_install_root_password_screen",
"LANGUAGE-arabic"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

View File

@ -0,0 +1,16 @@
{
"area": [
{
"xpos": 123,
"ypos": 184,
"width": 55,
"height": 21,
"type": "match"
}
],
"properties": [],
"tags": [
"LANGUAGE-arabic",
"anaconda_install_user_created"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 KiB

View File

@ -0,0 +1,17 @@
{
"properties": [],
"area": [
{
"width": 47,
"ypos": 153,
"xpos": 350,
"height": 61,
"type": "match"
}
],
"tags": [
"ENV-DISTRI-fedora",
"anaconda_install_user_creation",
"LANGUAGE-arabic"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 89 KiB

View File

@ -0,0 +1,16 @@
{
"area": [
{
"xpos": 566,
"ypos": 214,
"width": 106,
"height": 21,
"type": "match"
}
],
"properties": [],
"tags": [
"LANGUAGE-arabic",
"anaconda_install_user_creation_make_admin"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

View File

@ -0,0 +1,16 @@
{
"tags": [
"LANGUAGE-arabic",
"anaconda_install_user_creation_screen"
],
"properties": [],
"area": [
{
"xpos": 686,
"ypos": 109,
"width": 93,
"height": 22,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

View File

@ -11,6 +11,7 @@
"properties": [],
"tags": [
"LANGUAGE-russian",
"LANGUAGE-arabic",
"LANGUAGE-japanese",
"anaconda_install_user_created"
]

View File

@ -0,0 +1,16 @@
{
"area": [
{
"xpos": 222,
"ypos": 180,
"width": 49,
"height": 31,
"type": "match"
}
],
"properties": [],
"tags": [
"LANGUAGE-arabic",
"anaconda_select_install_lang_filtered"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

View File

@ -0,0 +1,16 @@
{
"tags": [
"anaconda_select_install_lang_selected",
"LANGUAGE-arabic"
],
"area": [
{
"xpos": 322,
"ypos": 186,
"width": 99,
"height": 22,
"type": "match"
}
],
"properties": []
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 KiB

View File

@ -0,0 +1 @@
{"area": [{"xpos": 24, "ypos": 737, "width": 61, "height": 19, "type": "match"}], "properties": [], "tags": ["anaconda_select_install_lang_continue", "LANGUAGE-arabic"]}

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 KiB

View File

@ -0,0 +1 @@
{"properties": [], "tags": ["LANGUAGE-arabic", "anaconda_select_install_lang_selected"], "area": [{"xpos": 327, "ypos": 197, "width": 94, "height": 22, "type": "match"}]}

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 KiB

View File

@ -0,0 +1,16 @@
{
"tags": [
"LANGUAGE-arabic",
"anaconda_main_hub_begin_installation"
],
"properties": [],
"area": [
{
"xpos": 26,
"ypos": 709,
"width": 112,
"height": 20,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 118 KiB

View File

@ -0,0 +1,16 @@
{
"properties": [],
"tags": [
"LANGUAGE-arabic",
"anaconda_workstation_highlighted"
],
"area": [
{
"xpos": 530,
"ypos": 254,
"width": 126,
"height": 15,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 KiB

View File

@ -0,0 +1,16 @@
{
"properties": [],
"tags": [
"LANGUAGE-arabic",
"anaconda_workstation_selected"
],
"area": [
{
"xpos": 530,
"ypos": 254,
"width": 465,
"height": 15,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 KiB

View File

@ -0,0 +1,16 @@
{
"tags": [
"anaconda_rawhide_accept_fate",
"LANGUAGE-arabic"
],
"properties": [],
"area": [
{
"xpos": 255,
"ypos": 435,
"width": 162,
"height": 20,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

View File

@ -0,0 +1,16 @@
{
"properties": [],
"tags": [
"LANGUAGE-arabic",
"anaconda_spoke_done"
],
"area": [
{
"xpos": 953,
"ypos": 53,
"width": 42,
"height": 21,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 KiB

View File

@ -0,0 +1,18 @@
{
"properties": [],
"tags": [
"DESKTOP-gnome",
"ENV-DISTRI-fedora",
"LANGUAGE-arabic",
"graphical_desktop_clean"
],
"area": [
{
"xpos": 951,
"ypos": 3,
"width": 65,
"height": 20,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 864 KiB

View File

@ -0,0 +1,16 @@
{
"properties": [],
"tags": [
"LANGUAGE-arabic",
"getting_started"
],
"area": [
{
"xpos": 458,
"ypos": 32,
"width": 111,
"height": 22,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

View File

@ -0,0 +1,16 @@
{
"properties": [],
"tags": [
"gnome_layout_native",
"LANGUAGE-arabic"
],
"area": [
{
"xpos": 138,
"ypos": 8,
"width": 36,
"height": 16,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 252 KiB

View File

@ -0,0 +1,16 @@
{
"properties": [],
"tags": [
"gnome_layout_native",
"LANGUAGE-arabic"
],
"area": [
{
"xpos": 138,
"ypos": 9,
"width": 35,
"height": 14,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 642 KiB

View File

@ -0,0 +1,17 @@
{
"properties": [],
"tags": [
"gnome_layout_ascii",
"gnome_layout_us",
"LANGUAGE-arabic"
],
"area": [
{
"xpos": 138,
"ypos": 9,
"width": 36,
"height": 14,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 252 KiB

View File

@ -0,0 +1,17 @@
{
"properties": [],
"tags": [
"gnome_layout_ascii",
"gnome_layout_us",
"LANGUAGE-arabic"
],
"area": [
{
"xpos": 138,
"ypos": 9,
"width": 36,
"height": 15,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 642 KiB

View File

@ -0,0 +1,17 @@
{
"properties": [],
"tags": [
"DESKTOP-gnome",
"LANGUAGE-arabic",
"graphical_login_input"
],
"area": [
{
"xpos": 340,
"ypos": 375,
"width": 345,
"height": 61,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 252 KiB

View File

@ -0,0 +1,16 @@
{
"area": [
{
"xpos": 17,
"ypos": 41,
"width": 43,
"height": 21,
"type": "match"
}
],
"tags": [
"LANGUAGE-arabic",
"next_button"
],
"properties": []
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

View File

@ -0,0 +1,16 @@
{
"properties": [],
"tags": [
"LANGUAGE-arabic",
"skip_button"
],
"area": [
{
"xpos": 19,
"ypos": 42,
"width": 40,
"height": 19,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

View File

@ -1,16 +1,17 @@
{
"area": [
{
"height": 17,
"type": "match",
"ypos": 34,
"width": 115,
"xpos": 454
}
],
"properties": [],
"tags": [
"getting_started",
"LANGUAGE-english"
]
}
{
"area": [
{
"xpos": 454,
"ypos": 34,
"width": 115,
"height": 17,
"type": "match"
}
],
"properties": [],
"tags": [
"getting_started",
"LANGUAGE-english",
"LANGUAGE-arabic"
]
}

View File

@ -10,7 +10,8 @@
],
"tags": [
"getting_started",
"LANGUAGE-english"
"LANGUAGE-english",
"LANGUAGE-arabic"
],
"properties": []
}
}

View File

@ -1491,6 +1491,17 @@
},
test_suite => { name => "install_cyrillic_language" },
},
{
machine => { name => "64bit" },
prio => 40,
product => {
arch => "x86_64",
distri => "fedora",
flavor => "universal",
version => "*",
},
test_suite => { name => "install_arabic_language" },
},
{
machine => { name => "64bit" },
prio => 40,
@ -2529,6 +2540,18 @@
},
test_suite => { name => "install_cyrillic_language" },
},
{
group_name => "Fedora PowerPC",
machine => { name => "ppc64le" },
prio => 40,
product => {
arch => "ppc64le",
distri => "fedora",
flavor => "universal",
version => "*",
},
test_suite => { name => "install_arabic_language" },
},
{
group_name => "Fedora PowerPC",
machine => { name => "ppc64le" },
@ -3261,6 +3284,18 @@
},
test_suite => { name => "install_cyrillic_language" },
},
{
group_name => "Fedora PowerPC",
machine => { name => "ppc64" },
prio => 40,
product => {
arch => "ppc64",
distri => "fedora",
flavor => "universal",
version => "*",
},
test_suite => { name => "install_arabic_language" },
},
{
group_name => "Fedora PowerPC",
machine => { name => "ppc64" },
@ -4029,6 +4064,18 @@
},
test_suite => { name => "install_cyrillic_language" },
},
{
group_name => "Fedora AArch64",
machine => { name => "aarch64" },
prio => 40,
product => {
arch => "aarch64",
distri => "fedora",
flavor => "universal",
version => "*",
},
test_suite => { name => "install_arabic_language" },
},
{
group_name => "Fedora AArch64",
machine => { name => "aarch64" },
@ -5059,6 +5106,21 @@
{ key => "HDDSIZEGB", value => "12" },
],
},
{
name => "install_arabic_language",
settings => [
{ key => "LANGUAGE", value => "arabic" },
{ key => "DESKTOP", value => "gnome" },
{ key => "PACKAGE_SET", value => "workstation" },
{ key => "SWITCHED_LAYOUT", value => "1" },
{ key => "USER_LOGIN", value => "qwerty" },
{ key => "ROOT_PASSWORD", value => "weakpassword" },
{ key => "ENCRYPT_PASSWORD", value => "weakpassword" },
{ key => "POSTINSTALL", value => "_console_login" },
{ key => "REPOSITORY_VARIATION", value => "%LOCATION%" },
{ key => "HDDSIZEGB", value => "12" },
],
},
{
name => "install_asian_language",
settings => [

View File

@ -6,20 +6,19 @@ use utils;
sub run {
my $self = shift;
send_key "ctrl-alt-f3";
# do user login unless USER_LOGIN is set to string 'false'
unless (get_var("USER_LOGIN") eq "false") {
console_login(user=>get_var("USER_LOGIN", "test"), password=>get_var("USER_PASSWORD", "weakpassword"));
}
# Since there is no console support for arabic, so we cannot let the user log in
# with a password that requires Arabic support.
# Such attempt to log in would always fail.
if (get_var("LANGUAGE") ne "arabic" && get_var("USER_LOGIN") ne "false") {
console_login(user=>get_var("USER_LOGIN", "test"), password=>get_var("USER_PASSWORD", "weakpassword"));
};
if (get_var("ROOT_PASSWORD")) {
console_login(user=>"root", password=>get_var("ROOT_PASSWORD"));
}
}
}
}
sub test_flags {
return { fatal => 1, milestone => 1 };
}
1;
# vim: set sw=4 et: