Files
MicroPythonOS/tests
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-11-14 14:32:59 +01:00
2025-11-17 21:58:16 +01:00
2025-11-17 21:58:16 +01:00
2025-11-02 23:17:57 +01:00
2025-11-29 14:59:14 +01:00
2025-12-07 09:13:56 +01:00
2025-11-11 10:51:02 +01:00
2025-11-10 10:16:54 +01:00
2025-12-15 12:01:13 +01:00
2025-12-15 12:01:31 +01:00