The integration tests were still failing because packets weren't being displayed on the map. This improves the test setup and execution. Changes: - Ensure test packets have Decimal lat/lon values - Add explicit has_position and data_type fields - Wait for leaflet-container to be present before proceeding - Manually trigger bounds_changed event via LiveView hook - Add debugging output to help diagnose issues - Increase wait time for packet loading and rendering - Take screenshots when no markers are found The test now properly waits for the map to initialize and manually triggers the historical packet loading through the LiveView hook, which should be more reliable than relying on automatic loading. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| historical_loading_integration_test.exs | ||
| historical_packets_test.exs | ||
| map_integration_test.exs | ||
| simple_integration_test.exs | ||