Project

General

Profile

Actions

action #25494

closed

[sle][functional]change sub function search for yast2_gui/yast2_control_center.pm

Added by zluo over 6 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Bugs in existing tests
Start date:
2017-09-21
Due date:
% Done:

100%

Estimated time:
Difficulty:

Description

for sles 15 yast2 gui(qt) tests we have to change the sub function in yast2_control_center.pm

--
sub search {
my ($name) = @_;
# on openSUSE we have a Qt setup with keyboard shortcut
if (check_var('DISTRI', 'opensuse')) {
send_key 'alt-s';
}
# with the gtk interface we have to click as there is no shortcut
elsif (check_var('DISTRI', 'sle')) {
assert_screen([qw(yast2_control-center_search_clear yast2_control-center_search)], no_wait => 1);
if (match_has_tag 'yast2_control-center_search') {
assert_and_click 'yast2_control-center_search';
}
else {
assert_and_click 'yast2_control-center_search_clear';
}
}
wait_screen_change { type_string $name; } if $name;
wait_still_screen 1;

}

Actions #1

Updated by okurz over 6 years ago

  • Subject changed from change sub function search for yast2_gui/yast2_control_center.pm to [sle][functional]change sub function search for yast2_gui/yast2_control_center.pm

please always use "[sle][functional]" component markers when the impact is relevant for "QA SLE functional".

Actions #2

Updated by okurz over 6 years ago

  • Priority changed from Normal to High
  • Target version set to Milestone 11

considered important for our tests and easily reproducible so -> M11

Actions #3

Updated by zluo over 6 years ago

  • Assignee set to zluo

take over...

Actions #5

Updated by zluo over 6 years ago

  • Status changed from New to Resolved
  • Priority changed from High to Normal
  • % Done changed from 0 to 100

merged.

Actions

Also available in: Atom PDF