From 3fa5887d3f361448432be0fbc8fd310f38fdc854 Mon Sep 17 00:00:00 2001 From: archeious Date: Fri, 17 Apr 2026 16:58:18 -0600 Subject: [PATCH] test: update selector expecting the retired zero-widget-pair class The condensed-sans redesign unifies budget and month zero widgets into a single class; the pair variant is distinguished by column count, not class. Assertion now checks that the month page still renders both Applied and Planned labels alongside the zero widget id. Refs #17 Co-Authored-By: Claude Opus 4.7 (1M context) --- tests/test_zero_amount.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_zero_amount.py b/tests/test_zero_amount.py index 8fe7d49..1c3d53e 100644 --- a/tests/test_zero_amount.py +++ b/tests/test_zero_amount.py @@ -135,6 +135,6 @@ def test_month_page_renders_paired_zero_widget(client): client.post("/month/2026-04/create") response = client.get("/month/2026-04") assert response.status_code == 200 - assert "zero-widget-pair" in response.text + assert 'id="zero-widget"' in response.text assert response.text.count("Planned") >= 1 assert response.text.count("Applied") >= 1