Project

General

Profile

action #31585

Full installation with a different keyboard layout

Added by JERiveraMoya over 3 years ago. Updated 9 months ago.

Status:
New
Priority:
Low
Assignee:
-
Target version:
Start date:
2018-02-09
Due date:
% Done:

0%

Estimated time:

Description

As a user I would like to test with openQA a full installation in another language:

Motivation for this is in this Epic: https://progress.opensuse.org/issues/30580
Functional team has given some steps forward, for example testing in the Installer to switch keyboard layout and currently in progress testing with the tty as root and as a user.
For the moment we need to switch back to English US keyboard because we have encounter some challenges completing a full installation.

qumu provides a way to change language, for example adding: https://github.com/os-autoinst/os-autoinst/blob/master/backend/qemu.pm#L570:
gen_params @params, 'k', $vars->{QEMULANGUAGE} if $vars->{QEMULANGUAGE};

Once qemu is changed we find difficulties in the bootloader test, Our bootloader.pm has a working subroutine select_bootmenu_language that allows to change the language, but should be called the first and not the last due to we need to first change the language to type the bootloader parameters.
--> It works but VNC is in the middle and keys that needs modifier keys (shift, alt, control, etc) does not return the right result (as I could check returns the correct key in the corresponding language without including shift/control/etc).
--> In repo autoinst there is a specific mapping https://github.com/os-autoinst/os-autoinst/blob/master/consoles/VNC.pm#L634 that allows to use modifiers mentioned above.

On the other hand, we might not want to change the language in the bootloader, but once the qemu is configured with -k we need to do it because it starts to convert from the very beginning.
I found specially interesting this article recommended in the qemu documentation https://wiki.archlinux.org/index.php/QEMU: https://www.berrange.com/posts/2010/07/04/more-than-you-or-i-ever-wanted-to-know-about-virtual-keyboard-handling/ which doesn't recommend to use -k parameter in the same way that many other sources neither do.

We are thinking to test with one language first, for example fr and we will need that openQA would support at least one language so shorcuts to access menu would not fail and Installation could be done correctly in another language so on top of that we can test further in the system.


Related issues

Related to openQA Project - action #40211: Allow changing keyboard layout at runtimeResolved2018-08-24

History

#1 Updated by JERiveraMoya over 3 years ago

  • Subject changed from [sle][functional]Investigation about full installation with different layout to [sle][functional]Investigate full installation with a different keyboard layout

#2 Updated by JERiveraMoya over 3 years ago

  • Description updated (diff)

#3 Updated by JERiveraMoya over 3 years ago

  • Subject changed from [sle][functional]Investigate full installation with a different keyboard layout to [tools][sle][functional] Full installation with a different keyboard layout
  • Description updated (diff)

#4 Updated by JERiveraMoya over 3 years ago

  • Description updated (diff)

#5 Updated by okurz over 3 years ago

  • Target version set to Milestone 16

#6 Updated by okurz over 3 years ago

  • Subject changed from [tools][sle][functional] Full installation with a different keyboard layout to [tools][sle][functional][yast][y] Full installation with a different keyboard layout

#7 Updated by okurz about 3 years ago

  • Target version changed from Milestone 16 to Milestone 18

I doubt we are able to do this within M16, let's give it some slack :)

#8 Updated by okurz about 3 years ago

  • Target version changed from Milestone 18 to Milestone 18

#9 Updated by okurz almost 3 years ago

  • Target version changed from Milestone 18 to future

#10 Updated by dheidler almost 3 years ago

  • Related to action #40211: Allow changing keyboard layout at runtime added

#11 Updated by okurz over 1 year ago

  • Subject changed from [tools][sle][functional][yast][y] Full installation with a different keyboard layout to [sle][functional][yast][y] Full installation with a different keyboard layout

With #40211 solved it's possible to select different keyboard layouts.

#12 Updated by riafarov 9 months ago

  • Project changed from openQA Tests to qe-yast
  • Subject changed from [sle][functional][yast][y] Full installation with a different keyboard layout to Full installation with a different keyboard layout
  • Category deleted (New test)
  • Priority changed from Normal to Low

We might face a lot of issues with this one as openQA doesn't really support other keyboard layouts.

Also available in: Atom PDF