Commit Graph

104 Commits

Author SHA1 Message Date
Thomas Farstrike 08d1b28691 Update tests 2025-12-19 11:13:40 +01:00
Thomas Farstrike a31ac2f112 Update tests 2025-12-19 11:01:09 +01:00
Thomas Farstrike 8a931e09ad Revert back render time 2025-12-19 10:23:28 +01:00
Thomas Farstrike da9f912ab7 AudioFlinger: add support for I2S microphone recording to WAV 2025-12-17 21:49:51 +01:00
Thomas Farstrike e64b475b10 AudioFlinger: revert to threaded method
The TaskManager (asyncio) was jittery when under heavy CPU load.
2025-12-17 20:07:51 +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 afe8434bc7 AudioFlinger: eliminate thread by using TaskManager (asyncio)
Also simplify, and move all testing mocks to a dedicated file.
2025-12-17 17:03:42 +01:00
Thomas Farstrike 23a8f92ea9 OSUpdate app: show download speed
DownloadManager: add support for download speed
2025-12-17 15:02:31 +01:00
Thomas Farstrike 4b9a147deb OSUpdate app: eliminate thread by using TaskManager and DownloadManager 2025-12-17 14:40:30 +01:00
Thomas Farstrike 5dd24090f4 Move download_url() to DownloadManager 2025-12-17 12:26:02 +01:00
Thomas Farstrike b7844edfca Fix unittest.sh for aiorepl 2025-12-15 12:01:31 +01:00
Thomas Farstrike 361f8b86d6 Fix test_websocket.py 2025-12-15 12:01:13 +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
Thomas Farstrike f3a5faba83 Try to fix tests/test_graphical_imu_calibration.py 2025-12-08 13:56:30 +01:00
Thomas Farstrike 6f3fe0af9f Fix test_sensor_manager.py 2025-12-08 12:03:32 +01:00
Thomas Farstrike 11867dd74f Rework tests 2025-12-08 11:52:27 +01:00
Thomas Farstrike 41db1b0fef Fix failing unit tests 2025-12-07 15:11:47 +01:00
Thomas Farstrike 7a8cc92350 Fix unit tests 2025-12-07 09:17:24 +01:00
Thomas Farstrike e94c8ab084 More tests 2025-12-07 09:13:56 +01:00
Thomas Farstrike 56b7cc17e9 Settings app: add IMU calibration with check 2025-12-05 20:48:00 +01:00
Thomas Farstrike eaa2ee34d5 Add tests/test_sensor_manager.py 2025-12-04 13:21:58 +01:00
Thomas Farstrike f37ca70a89 API: add AudioFlinger for audio playback (i2s DAC and buzzer)
API: add LightsManager for multicolor LEDs
2025-12-03 22:32:36 +01:00
Thomas Farstrike 27d1af9931 API: add defaults handling to SharedPreferences and only save non-defaults 2025-12-02 12:08:47 +01:00
Thomas Farstrike 031d502e37 Fix tests/test_graphical_camera_settings.py 2025-12-01 12:08:25 +01:00