1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-22 10:23:09 +00:00

Manually add Japanese input source for install_asian_language

GNOME dropped the g-i-s new user mode in F34, so on a Japanese
install with user created in the installer, you don't get an
input source configured out of the box or on first boot. So
we'll just have to do it manually after booting, before we test
if it works.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2021-06-15 14:16:26 -07:00
parent 9d499eb5e1
commit 526042b0a5
13 changed files with 108 additions and 0 deletions

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 624,
"ypos": 221,
"width": 19,
"height": 18,
"type": "match"
}
],
"properties": [],
"tags": [
"desktop_add_input_source"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 488,
"ypos": 478,
"width": 49,
"height": 22,
"type": "match"
}
],
"properties": [],
"tags": [
"desktop_input_source_japanese"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 328,
"ypos": 280,
"width": 97,
"height": 21,
"type": "match"
}
],
"properties": [],
"tags": [
"desktop_input_source_japanese_anthy"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

View File

@ -0,0 +1,16 @@
{
"area": [
{
"width": 18,
"height": 17,
"xpos": 885,
"ypos": 9,
"type": "match"
}
],
"properties": [],
"tags": [
"gnome_layout_ascii",
"LANGUAGE-japanese"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 370 KiB

View File

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 338 KiB

View File

@ -0,0 +1,17 @@
{
"area": [
{
"ypos": 128,
"type": "match",
"xpos": 362,
"height": 20,
"width": 33
}
],
"properties": [],
"tags": [
"DESKTOP-gnome",
"LANGUAGE-japanese",
"desktop_yama_chooser"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 336 KiB

View File

@ -4,6 +4,20 @@ use testapi;
use utils;
sub run {
my $relnum = get_release_number;
if (get_var("LANGUAGE") eq 'japanese' && $relnum > 33) {
# since g-i-s new user mode was dropped and the replacement
# doesn't do input method selection, and anaconda never has,
# we have to set up the input method manually:
# https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3749
menu_launch_type "keyboard";
assert_and_click "desktop_add_input_source";
assert_and_click "desktop_input_source_japanese";
assert_and_click "desktop_input_source_japanese_anthy";
send_key "ret";
wait_still_screen 3;
send_key "alt-f4";
}
# do this from the overview because the desktop uses the stupid
# transparent top bar which messes with our needles
send_key "alt-f1";