Files
MicroPythonOS/internal_filesystem
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-17 15:02:31 +01:00
2025-04-27 22:11:57 +02:00