UI update complete?

This commit is contained in:
Jim Lancaster
2026-08-02 13:33:09 -05:00
parent ed6f9dfe25
commit 9653060c2a
26 changed files with 2523 additions and 72 deletions
+6 -10
View File
@@ -16,21 +16,17 @@ class TestPageRendering:
assert response.headers["location"] == "/ui"
def test_ui_redirects_to_upload(self, app_client):
"""GET /ui redirects to the upload page."""
"""GET /ui redirects to the jobs page."""
_, client = app_client
response = client.get("/ui", follow_redirects=False)
assert response.status_code == 307
assert response.headers["location"] == "/ui/upload"
assert response.headers["location"] == "/ui/jobs"
def test_upload_page_renders_expected_controls(self, app_client):
"""GET /ui/upload returns the page shell and upload controls."""
"""GET /ui/upload redirects to the job-create flow."""
_, client = app_client
response = client.get("/ui/upload")
response = client.get("/ui/upload", follow_redirects=False)
assert response.status_code == 200
assert "VibeScribe" in response.text
assert "Upload Document" in response.text
assert "Select document file" in response.text
assert "Upload" in response.text
assert "Jobs" in response.text
assert response.status_code == 307
assert response.headers["location"] == "/ui/jobs/new"