Project

General

Profile

Actions

action #49355

closed

[functional][u][sporadic] test fails in gnucash to handle "welcome" popup

Added by okurz about 5 years ago. Updated about 5 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Bugs in existing tests
Target version:
SUSE QA - Milestone 24
Start date:
2019-03-15
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

Observation

openQA test in scenario opensuse-Tumbleweed-DVD-x86_64-extra_tests_in_kde@64bit fails in
gnucash

Reproducible

https://openqa.opensuse.org/tests/overview?arch=&modules=gnucash&modules_result=failed&build=poo35589_okurz_kde_wayland_check_border_krunner6&distri=opensuse&version=Tumbleweed# shows 38/100 failed.

Expected result

100/100 stable :)

Further details

Always latest result in this scenario: latest


Related issues 1 (0 open1 closed)

Copied to openQA Tests - action #49358: [functional][u][sporadic] test fails in wine to close pkcon install xtermResolvedzluo2019-03-15

Actions
Actions #1

Updated by okurz about 5 years ago

  • Copied to action #49358: [functional][u][sporadic] test fails in wine to close pkcon install xterm added
Actions #2

Updated by zluo about 5 years ago

  • Status changed from Workable to In Progress
  • Assignee set to zluo

take over

Actions #3

Updated by zluo about 5 years ago

x11_start_program('gnucash', target_match => [qw(gnucash gnucash-tip-close gnucash-assistant-close)]);
if (match_has_tag('gnucash-tip-close')) {
assert_and_click 'gnucash-tip-close';
assert_screen([qw(gnucash gnucash-assistant-close)]);
}

gnucash-tip-close has two areas and following assert_and_close won't work if mouse point is not on "close".

Actions #4

Updated by zluo about 5 years ago

I think that loadling gnucash takes time and Tip of days shows up at once. So that is why assert_and_click doesn't work even the same issue got matched short before this action.

Trying with wait_screen_change now.

Actions #5

Updated by zluo about 5 years ago

trying with

x11_start_program('gnucash', target_match => [qw(gnucash gnucash-tip-close gnucash-assistant-close)]);
if (match_has_tag('gnucash-tip-close')) {
send_key 'esc';
assert_screen([qw(gnucash gnucash-assistant-close)]);
}
Actions #6

Updated by zluo about 5 years ago

http://f40.suse.de/tests/2332#next_previous shows correct tests results, failures only related to pkcon install however.

Actions #7

Updated by zluo about 5 years ago

  • Status changed from In Progress to Feedback
Actions #8

Updated by SLindoMansilla about 5 years ago

zluo wrote:

x11_start_program('gnucash', target_match => [qw(gnucash gnucash-tip-close gnucash-assistant-close)]);
if (match_has_tag('gnucash-tip-close')) {
assert_and_click 'gnucash-tip-close';
assert_screen([qw(gnucash gnucash-assistant-close)]);
}

gnucash-tip-close has two areas and following assert_and_close won't work if mouse point is not on "close".

Hi zluo,

I find the send_key also ok as general approach to close that window. But, as a reminder for the future, the area to be clicked is the last area in the array from the json file: https://github.com/os-autoinst/os-autoinst/blob/a26db180945ce78ae789500c7f2164931ceccc10/testapi.pm#L467

Actions #9

Updated by SLindoMansilla about 5 years ago

PR merged.

Waiting for verification run on O3:

for i in `seq -w 1 200`; do
  echo "openqa-clone-job --skip-deps --skip-download --host https://openqa.opensuse.org --from https://openqa.opensuse.org 885505 _GROUP_ID=0 TEST=extra_tests_on_kde_$i _PRIORITY=100 BUILD=poo49355_investigation"
done
Actions #10

Updated by SLindoMansilla about 5 years ago

  • Status changed from Feedback to Resolved

Verified on OSD, 200 of 200 without the issue: https://openqa.opensuse.org/tests/overview?build=poo49355_investigation

Actions

Also available in: Atom PDF