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) <noreply@anthropic.com>
This commit is contained in:
archeious 2026-04-17 16:58:18 -06:00
parent eb689cd9a1
commit 3fa5887d3f

View file

@ -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