8 Commits

Author SHA1 Message Date
Thomas Farstrike d24a52c54c Simplify tests 2026-03-25 15:16:17 +01:00
Thomas Farstrike 73b9095631 Add tests/test_graphical_hotspot_password.py 2026-03-25 14:23:53 +01:00
Thomas Farstrike c2ae169638 Rename PackageManager to AppManager 2026-01-25 00:19:38 +01:00
Thomas Farstrike 31dcfba683 Move mpos.apps functionality to PackageManager 2026-01-25 00:08:01 +01:00
Thomas Farstrike 4ad4e1ed20 Refactor to simplify imports 2026-01-13 00:38:17 +01:00
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
Thomas Farstrike 7b4d08d432 TaskManager: add disable() functionality and fix unit tests 2025-12-11 22:07:04 +01:00
Thomas Farstrike d7a7312b30 Add tests/test_graphical_imu_calibration_ui_bug.py 2025-12-08 13:56:58 +01:00