mirror of
https://github.com/m5stack/MicroPythonOS.git
synced 2026-05-20 11:51:27 -07:00
740f239acca94fc7294c8d6e85640e570628c2b4
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)
Main repository for MicroPythonOS.
See https://MicroPythonOS.com/ and https://docs.MicroPythonOS.com/ for more info.
Languages
Python
75.3%
C
11.5%
JavaScript
7.2%
HTML
3.5%
Shell
1.4%
Other
1%