diff --git a/templates/index.html b/templates/index.html
index 4598757..429b21d 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -56,6 +56,8 @@
+
+
@@ -809,10 +811,18 @@
0
0
+
+
+
+
+
+
+
+
+
+
+
@@ -3639,6 +3664,8 @@
+
+
diff --git a/tests/test_app.py b/tests/test_app.py
index 9766665..011ef0c 100644
--- a/tests/test_app.py
+++ b/tests/test_app.py
@@ -1,26 +1,25 @@
"""Tests for main application routes."""
-
def test_index_page(client):
"""Test that index page loads."""
- response = client.get('/')
+ response = client.get("/")
assert response.status_code == 200
- assert b'INTERCEPT' in response.data
+ assert b"INTERCEPT" in response.data
def test_dependencies_endpoint(client):
"""Test dependencies endpoint returns valid JSON."""
- response = client.get('/dependencies')
+ response = client.get("/dependencies")
assert response.status_code == 200
data = response.get_json()
- assert 'modes' in data
- assert 'os' in data
+ assert "modes" in data
+ assert "os" in data
def test_devices_endpoint(client):
"""Test devices endpoint returns list."""
- response = client.get('/devices')
+ response = client.get("/devices")
assert response.status_code == 200
data = response.get_json()
assert isinstance(data, list)
@@ -28,11 +27,31 @@ def test_devices_endpoint(client):
def test_satellite_dashboard(client):
"""Test satellite dashboard loads."""
- response = client.get('/satellite/dashboard')
+ response = client.get("/satellite/dashboard")
assert response.status_code == 200
def test_adsb_dashboard(client):
"""Test ADS-B dashboard loads."""
- response = client.get('/adsb/dashboard')
+ response = client.get("/adsb/dashboard")
assert response.status_code == 200
+
+
+def test_pager_directory_elements_present(client):
+ response = client.get("/")
+ assert b'id="signalViewWrap"' in response.data
+ assert b'id="pagerDirectoryView"' in response.data
+ assert b'id="pagerDirEntries"' in response.data
+ assert b'id="pagerFeedHeader"' in response.data
+ assert b'id="pagerToggleDir"' in response.data
+ assert b"pager-directory.css" in response.data
+ assert b"pager-directory.js" in response.data
+
+
+def test_sensor_dashboard_elements_present(client):
+ response = client.get("/")
+ assert b'id="sensorDashboardView"' in response.data
+ assert b'id="sensorDashboardGrid"' in response.data
+ assert b'id="sensorToggleDash"' in response.data
+ assert b"sensor-dashboard.css" in response.data
+ assert b"sensor-dashboard.js" in response.data