alex
20e75622ac
feat: add reproducible portal README media
2026-09-09 12:56:52 +10:00
alex
7735d7f0cb
Portal customization API v2, SPA hardening, and test cleanup
...
- Group portal state into brand/pages/actions/layout structs; portal* API
- Bootstrap JSON: nested brand/context/pages/actions/layout; param kind
- Handlers: PROGMEM default CSS when no override/append; dynamic CSS path
- PortalAppJS: portal timeout countdown; safe WiFi scan DOM; serialized
scan-status polling; fetch error handling; wm:view-changed on redirects
- CSS: scan list icon alignment; wm-status for timeout
- Tests: remove low-value/no-op tests; trim fragile JS substring checks
2026-05-04 22:03:43 +10:00
alex
9401c20df6
WiFiManager: fragment templates, handler refactor, and tests.
...
Split reusable HTML into Fragments, Message, and Param headers; route
more pages through DFTE streaming. Update handlers, WiFi polling JS,
and configuration/scanning tests; add template rendering coverage.
2026-04-18 00:23:57 +10:00
alex
f056893f87
Implement comprehensive test suite improvements
...
- Added 42 new tests covering critical functionality:
* WiFi connection flow tests (6 tests)
* Callback firing verification tests (4 tests)
* DNS server lifecycle tests (3 tests)
* Error condition tests (7 tests)
* Parameter value management tests (5 tests)
* WiFi scanning tests (4 tests)
* State transition tests (4 tests)
* Integration tests (5 tests)
* Stress tests (5 tests)
- Fixed compilation errors by replacing protected connectWifi() calls with public autoConnect()
- Fixed config reset callback test to use resetSettings() instead of erase()
- Added delays around resetSettings() calls to prevent ESP8266 WiFi stack crashes
- Reduced stress test iterations to avoid excessive output
- Improved test stability with better state checking and error handling
Total test count: 86 tests (up from 44)
All tests passing successfully
2025-11-05 23:25:06 +10:00