webui: clarify API connection badge

This commit is contained in:
nick committed 2026-06-08 08:09:33 -06:00
1 parent 2f973a279c
commit 0f7b5206b6
2 files changed
+12 -3

No files matched your search

+9
View File
@@ -366,3 +366,12 @@ def test_embedded_webui_config_subtabs():
assert "config-maintenance" in source
assert "WiFi / AP" in source
assert "Maintenance" in source
def test_embedded_webui_api_badge_labels_are_clear():
source = firmware_source()
assert "API Connecting..." in source
assert "API Live" in source
assert "API Error" in source
assert 'textContent="Offline"' not in source