From f43044cc9eb741691ef244e28521b705cb975c63 Mon Sep 17 00:00:00 2001 From: jetson Date: Wed, 28 Oct 2026 10:50:23 +0700 Subject: [PATCH] test: pin the status page's 'Batches closed' label --- tests/test_app.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test_app.py b/tests/test_app.py index 4cef3f6..2db0bd9 100644 --- a/tests/test_app.py +++ b/tests/test_app.py @@ -164,6 +164,9 @@ def test_status_page_renders_box_and_sack_labels(client): assert "Sack Out" in html assert "Box In" in html assert "Box Out" in html + # The number is the count of FINISHED batches — say so, or "Batches: 0" + # reads like "no batch was counted". + assert "Batches closed:" in html def test_api_job_detail_includes_live_box_counts(client):