action #49355
closed[functional][u][sporadic] test fails in gnucash to handle "welcome" popup
0%
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
Updated by okurz over 5 years ago
- Copied to action #49358: [functional][u][sporadic] test fails in wine to close pkcon install xterm added
Updated by zluo over 5 years ago
- Status changed from Workable to In Progress
- Assignee set to zluo
take over
Updated by zluo over 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".
Updated by zluo over 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.
Updated by zluo over 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)]);
}
Updated by zluo over 5 years ago
http://f40.suse.de/tests/2332#next_previous shows correct tests results, failures only related to pkcon install however.
Updated by zluo over 5 years ago
- Status changed from In Progress to Feedback
Updated by SLindoMansilla over 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
Updated by SLindoMansilla over 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
Updated by SLindoMansilla over 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