Project

General

Profile

action #30586

coordination #30580: [sle][functional][u][epic]Test for keyboard layout switching

[sle][functional][easy]keyboard layout switching - check for keyboard layout in console after first_boot

Added by okurz over 3 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
New test
Start date:
2018-01-21
Due date:
2018-04-24
% Done:

0%

Estimated time:
Difficulty:

Description

Acceptance criteria

  • AC1: Test for changed keyboard layout in console in scenario where layout is changed, relies on #30583

Tasks

  • needs #30583 first
  • to come up with a test for the layout in console login prompt I suggest selecting a new tty which so far is not yet used, e.g. tty3 should be free according to susedistribution.pm::init_consoles. Try to type based on the test variable in #30583 and detect the state with a needle
  • Extend for test after login for user, e.g. in user-console
  • Extend for test after login for root, e.g. in root-console

Related issues

Related to openQA Tests - coordination #31426: [sle][functional][u][epic] extend tests for icewm regarding raspberry pi scenario (was: extend tests for icewm a bit)Rejected2018-02-212018-06-12

Copied to openQA Tests - action #33151: [sle][functional][easy] fix keyboard layout switching testsResolved2018-01-212018-03-27

History

#1 Updated by okurz over 3 years ago

  • Copied from action #30583: [sle][functional][medium]keyboard layout switching - installer added

#2 Updated by okurz over 3 years ago

  • Copied from deleted (action #30583: [sle][functional][medium]keyboard layout switching - installer)

#3 Updated by okurz over 3 years ago

  • Parent task set to #30580

#4 Updated by okurz over 3 years ago

  • Copied to action #30589: [sle][functional][u][easy] keyboard layout switching - check for keyboard layout in gdm+gnome added

#5 Updated by okurz over 3 years ago

  • Copied to deleted (action #30589: [sle][functional][u][easy] keyboard layout switching - check for keyboard layout in gdm+gnome)

#6 Updated by mloviska over 3 years ago

  • Assignee set to mloviska

#7 Updated by mloviska over 3 years ago

As long as keyboard layout or keymap is a particular locale test, I propose to extend this module for a system locale verification function as well. Due to known issue https://bugzilla.suse.com/show_bug.cgi?id=1074988.

#8 Updated by riafarov over 3 years ago

  • Related to coordination #31426: [sle][functional][u][epic] extend tests for icewm regarding raspberry pi scenario (was: extend tests for icewm a bit) added

#9 Updated by mloviska over 3 years ago

Test was failing for minimalx, because of missing desktop-runner handler in subroutine x11_start_program in susedistribution.pm. ICEWM is using "super-spc" shortcut instead of "alt-f2". For more information bindkey.h: https://github.com/bbidulock/icewm/blob/c7e0d0ea14854eb1d513a6e306671788bb73623c/src/bindkey.h#L50.

#10 Updated by mloviska over 3 years ago

  • Status changed from Workable to In Progress

#11 Updated by mloviska over 3 years ago

  • Status changed from In Progress to Feedback

#12 Updated by okurz over 3 years ago

Hi Martin. Can you explain why you set "Feedback" here? What do you expect should be the next step to conduct?

I don't understand why a ticket about "check for keyboard layout in console" is related to anything about icewm. Please elaborate.

#13 Updated by riafarov over 3 years ago

  • Due date changed from 2018-02-27 to 2018-03-13

PR waits for review. Missing run on OSD.

#15 Updated by okurz over 3 years ago

  • Due date changed from 2018-03-13 to 2018-03-27
  • Status changed from Feedback to In Progress
  • Target version changed from Milestone 14 to Milestone 15

PR merged, all verifications looked fine. Please monitor the tests on all products and make sure we have the DoD and ACs covered.

#17 Updated by okurz over 3 years ago

  • Copied to action #33151: [sle][functional][easy] fix keyboard layout switching tests added

#18 Updated by okurz over 3 years ago

  • Due date changed from 2018-03-27 to 2018-04-24

#19 Updated by okurz over 3 years ago

recent failures will be handled in #33151

#20 Updated by mloviska over 3 years ago

  • Related to action #33526: [sle][functional][y][medium][timeboxed:2h] test fails in keymap_or_locale - display manager is not running in tty2 as expected added

#21 Updated by mloviska over 3 years ago

  • Related to deleted (action #33526: [sle][functional][y][medium][timeboxed:2h] test fails in keymap_or_locale - display manager is not running in tty2 as expected)

#22 Updated by mloviska over 3 years ago

Can I close this ticket as https://progress.opensuse.org/issues/33151 is related to failures ?

#23 Updated by okurz over 3 years ago

It's up to you to close either this one or the "fix"-one. Probably I should not have created #33151 and just kept this one open until the unexpected failures are also handled.

#24 Updated by mloviska over 3 years ago

  • Status changed from In Progress to Resolved

#25 Updated by okurz almost 3 years ago

I think we missed something here. https://openqa.opensuse.org/tests/816830#step/keymap_or_locale/10 shows that we test "keyboard layout after login of user in gnome" but what is missing is the changed layout. Will create follow-up tickets.

#26 Updated by mloviska over 2 years ago

okurz wrote:

I think we missed something here. https://openqa.opensuse.org/tests/816830#step/keymap_or_locale/10 shows that we test "keyboard layout after login of user in gnome" but what is missing is the changed layout. Will create follow-up tickets.

As of now, the test works only with EN keyboard layout. There is no video available from the run, but I assume there was no change of keyboard layout.

Also available in: Atom PDF