Actions
action #10812
closedassert_and_click does not always work
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Bugs in existing tests
Target version:
-
Start date:
2016-02-18
Due date:
% Done:
100%
Estimated time:
Difficulty:
Description
There is assert screen match, there is clock in log but for unknown reason the "button" was not clicked.
e.g. https://openqa.suse.de/tests/206282/modules/reboot_gnome/steps/2 or https://openqa.suse.de/tests/206433/modules/oomath/steps/5 or https://openqa.suse.de/tests/206282/modules/reboot_gnome/steps/2
This happens pretty often.
log:
MATCH(shutdown-gnome-20140605:1.00)
>>> assert_screen: found shutdown-gnome-20140605, similarity 1.00 @ 325/336
Debug: /var/lib/openqa/share/tests/sle/tests/x11/reboot_gnome.pm:19 called testapi::assert_and_click
<<< assert_screen(mustmatch='logoutdialog-reboot-highlighted', timeout=30)
MATCH(logoutdialog-reboot-highlighted-20141112:1.00)
>>> assert_screen: found logoutdialog-reboot-highlighted-20141112, similarity 1.00 @ 440/445
Debug: /var/lib/openqa/share/tests/sle/tests/x11/reboot_gnome.pm:19 called testapi::assert_and_click
<<< assert_and_click(mustmatch='logoutdialog-reboot-highlighted', button=undef, timeout=30)
clicking at 499/463
Debug: /var/lib/openqa/share/tests/sle/tests/x11/reboot_gnome.pm:19 called testapi::assert_and_click
<<< mouse_set(x=499, y=463)
mouse_set 499, 463
send_pointer_event 0, 499, 463, 1
Debug: /var/lib/openqa/share/tests/sle/tests/x11/reboot_gnome.pm:19 called testapi::assert_and_click
<<< mouse_click(button='left', cursor_down='0.15')
pointer_event 1 499, 463
send_pointer_event 1, 499, 463, 1
pointer_event 0 499, 463
send_pointer_event 0, 499, 463, 1
Debug: /var/lib/openqa/share/tests/sle/tests/x11/reboot_gnome.pm:19 called testapi::assert_and_click
<<< mouse_set(x=undef, y=undef)
Use of uninitialized value in int at /usr/lib/os-autoinst/consoles/vnc_base.pm line 179.
Use of uninitialized value in int at /usr/lib/os-autoinst/consoles/vnc_base.pm line 180.
mouse_set 0, 0
send_pointer_event 0, 0, 0, 1
Updated by dzedro over 8 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Fixed by https://github.com/os-autoinst/os-autoinst/pull/480 I guess
Actions