diff --git a/tests/test_web_ui_api.py b/tests/test_web_ui_api.py index 4f85c28..b46ca6e 100644 --- a/tests/test_web_ui_api.py +++ b/tests/test_web_ui_api.py @@ -145,6 +145,7 @@ def test_needs_attention_page(store): assert 'Loki: blind' in html and 'HTTP 500' in html assert 'On the timeline only' in html and 'monitor-01 slow' in html # unexplained symptom assert 'Last 7 days' in html and 'storage-01 oom' in html + assert 'id="lt-theme-btn"' in html and 'lt.theme.toggle()' in html # light/dark switch def test_incident_and_known_pages(store): diff --git a/thor/web/templates/base.html b/thor/web/templates/base.html index b23eea8..4b02998 100644 --- a/thor/web/templates/base.html +++ b/thor/web/templates/base.html @@ -48,6 +48,8 @@