vienalatina/apps/board/tests
Claude 8608e71c7e
The password box was a browser default under a styled username box
board.css styled form controls from a list — text, email, date, and inputs with
no type attribute at all. The username field on the sign-in page has no type, so
it got the full-width box; the password field has one, and `password` was never
in the list, so it kept the browser's own narrow grey rectangle directly beneath
it. The number box for a page's order, added two days ago, was unstyled for the
same reason and nobody had looked at it yet.

An allowlist of accepted types is wrong the moment somebody adds a field, and
wrong silently: nothing errors, the form just looks unfinished. So the rule is
written the other way round — it excludes the controls that are not text boxes
(checkbox, radio, file, and the button-like types) and styles everything else,
so password, number, url, search and whatever arrives next are covered without
anybody remembering to edit it.

The guard in test_templates.py is on the shape of the rule rather than on any
one type: a revert to listing accepted types fails it.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NizVpJ2dwzCbjCrTLCjeHn
2026-10-03 09:12:07 +00:00
..
__init__.py Add a members area: roles and an internal board 2026-09-22 10:57:18 +00:00
conftest.py One front door: the members area owns its own logins 2026-09-29 08:25:25 +00:00
test_auth.py One front door: the members area owns its own logins 2026-09-29 08:25:25 +00:00
test_board.py The bar, the share card, the writing box and subpages 2026-10-02 15:21:35 +00:00
test_content.py The bar, the share card, the writing box and subpages 2026-10-02 15:21:35 +00:00
test_deployment.py Hand the mail settings to the container, and rebuild on deploy 2026-09-25 18:42:39 +00:00
test_invites.py One front door: the members area owns its own logins 2026-09-29 08:25:25 +00:00
test_members.py Publishing has never worked: one line, two wrong answers 2026-09-30 14:39:14 +00:00
test_messages.py Style the profile page, and drop the step before writing 2026-09-29 14:16:25 +00:00
test_migrations.py One dashboard, five sections, and a moderation queue 2026-09-30 11:09:55 +00:00
test_navigation.py The bar, the share card, the writing box and subpages 2026-10-02 15:21:35 +00:00
test_profiles.py Publishing has never worked: one line, two wrong answers 2026-09-30 14:39:14 +00:00
test_reactions.py Publishing has never worked: one line, two wrong answers 2026-09-30 14:39:14 +00:00
test_submissions.py A byline, a way in, and the cell that was not a cell 2026-10-02 12:19:08 +00:00
test_templates.py The password box was a browser default under a styled username box 2026-10-03 09:12:07 +00:00
test_uploads.py Let members post pictures, and back them up 2026-09-28 09:02:18 +00:00