Minor UI refinement
Quality Gate / gate (push) Failing after 49s

This commit is contained in:
Jim Lancaster
2026-08-24 12:58:34 -05:00
parent 9a7970c533
commit 96af7b2dc0
8 changed files with 85 additions and 16 deletions
+10
View File
@@ -1,5 +1,6 @@
"""Tests for the sources page routes and Source model properties."""
import re
from datetime import UTC
from datetime import datetime
from pathlib import Path
@@ -198,6 +199,15 @@ class TestSourcesPageRendering:
assert "page_one.png" in response.text
assert "Source Document" in response.text
assert "Stored Filename" not in response.text
assert re.search(
r'"name":"upload_name","label":"Upload Title".*'
r'"name":"page_number","label":"Page Number".*'
r'"name":"document_name","label":"Document Name".*'
r'"name":"job_source_status","label":"Status".*'
r'"name":"job_source_error_detail","label":"Error Detail"',
response.text,
re.DOTALL,
)
@pytest.mark.asyncio
async def test_sources_page_filters_to_document_context(self, app_client):