12 Commits

Author SHA1 Message Date
Thomas Farstrike 5cd3d40440 Remove tests/base/* stuff to fix --ondevice tests 2026-03-25 16:51:10 +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 be99f6e91d Fix tests 2025-12-19 11:30:31 +01:00
Thomas Farstrike a31ac2f112 Update tests 2025-12-19 11:01:09 +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 11867dd74f Rework tests 2025-12-08 11:52:27 +01:00
Thomas Farstrike 4fa71ab548 Fix tests/test_graphical_keyboard_q_button_bug.py 2025-11-23 05:55:39 +01:00
Thomas Farstrike e00201ab0e testing.py: fix failing test by finding all widgets 2025-11-22 09:49:46 +01:00
Thomas Farstrike 7e9e235721 Add q button test 2025-11-18 15:40:01 +01:00
Thomas Farstrike 5596ac42b5 Add internal_filesystem/lib/mpos/ui/testing.py 2025-11-18 15:25:47 +01:00