Project

General

Profile

Actions

action #125351

closed

coordination #121876: [epic] Handle openQA review failures in Yam squad - SLE 15 SP5

Need update test code to select option and close dialog of language-change-required-update-folder

Added by leli almost 2 years ago. Updated over 1 year ago.

Status:
Resolved
Priority:
High
Assignee:
Target version:
Start date:
2023-03-03
Due date:
% Done:

0%

Estimated time:

Description

Motivation

There are two dialogs shown in overview and caused gnome-terminal can't match, https://openqa.suse.de/tests/10615068#step/rmt_chinese/69. So we should close dialog of language-change-required-update-folder to avoid such issue.
https://openqa.suse.de/tests/10615068#step/rmt_chinese/65

in lib lib/x11utils.pm sub handle_login:
assert_screen([qw(generic-desktop gnome-activities opensuse-welcome)], 180);
if (match_has_tag('gnome-activities')) {
send_key_until_needlematch [qw(generic-desktop opensuse-welcome language-change-required-update-folder)], 'esc';
if (match_has_tag('language-change-required-update-folder')) {
assert_and_click('reserve_old_folder_name');
assert_screen([qw(generic-desktop opensuse-welcome)]);
}
}

When desktop matched, it will quit the function of handle_login and do not deal with the action of dialog of language-change-required-update-folder.

So there are two options to fix this,
1: to move the logic for language-change-required-update-folder to test code of tests/x11/rmt/rmt_chinese.pm such as after line 54: handle_relogin;
2: to update code in handle_relogin using the setting of RMT_TEST.

Acceptance criteria

AC1: Update code to select 'reserve_old_folder_name' and close the dialog of language-change-required-update-folder

Actions #1

Updated by leli almost 2 years ago

  • Description updated (diff)
Actions #2

Updated by JERiveraMoya almost 2 years ago

  • Status changed from New to Workable
  • Priority changed from Normal to High
  • Target version set to Current
  • Parent task set to #121876
Actions #3

Updated by leli almost 2 years ago

  • Status changed from Workable to In Progress
  • Assignee set to leli
Actions #5

Updated by leli over 1 year ago

  • Status changed from In Progress to Resolved

PR merged, verified on OSD, https://openqa.suse.de/tests/10658364#.

Actions

Also available in: Atom PDF