UI slog continues

This commit is contained in:
Jim Lancaster
2026-08-02 20:03:02 -05:00
parent 49e2e48df1
commit c098013a68
7 changed files with 156 additions and 31 deletions
+4
View File
@@ -51,6 +51,7 @@ class TestSourcesPageRendering:
assert response.status_code == 200
assert "Page 1: page_one.png" in response.text
assert "stored_page_one.png" in response.text
assert "Open source detail" in response.text
def test_sources_page_filters_to_document_context(self, app_client):
_, client = app_client
@@ -93,6 +94,7 @@ class TestSourcesPageRendering:
assert "Back to Document" in response.text
assert "target_page.png" in response.text
assert "other_page.png" not in response.text
assert "Open source detail" in response.text
def test_sources_page_filters_to_job_context(self, app_client, seed_job):
_, client = app_client
@@ -104,6 +106,7 @@ class TestSourcesPageRendering:
assert "Sources for Job" in response.text
assert "Back to Job" in response.text
assert "job-page.png" in response.text
assert "Open source detail" in response.text
def test_source_detail_page_renders_preview_and_revision_box(self, app_client, seed_job):
_, client = app_client
@@ -131,6 +134,7 @@ class TestSourcesPageRendering:
assert response.status_code == 200
assert "Source detail-source.png" in response.text
assert "Back to Sources" in response.text
assert "Transcription text" in response.text
assert "original transcription text" in response.text
assert "Revision text" in response.text