Thomas Farstrike 740f239acc fix(ui/testing): use send_event for reliable label clicks in tests
click_label() now detects clickable parent containers and uses
send_event(lv.EVENT.CLICKED) instead of simulate_click() for more
reliable UI test interactions.

This fixes sporadic failures in test_graphical_imu_calibration_ui_bug.py
where clicking "Check IMU Calibration" would sometimes fail because
simulate_click() wasn't reliably triggering the click event on the
parent container.

- Add use_send_event parameter to click_label() (default: True)
- Detect clickable parent containers and send events directly to them
- Verified with 15 consecutive test runs (100% pass rate)
2025-12-17 19:09:40 +01:00
2025-12-02 19:09:35 +01:00
2025-11-20 22:22:55 +01:00
2025-12-08 12:13:39 +01:00
2025-11-29 13:04:52 +01:00
2025-12-17 13:18:10 +01:00
2025-06-15 09:09:33 +02:00
2025-10-24 17:57:04 +02:00
S
Description
No description provided
Readme MIT 4.2 MiB
Languages
Python 75.3%
C 11.5%
JavaScript 7.2%
HTML 3.5%
Shell 1.4%
Other 1%