Issue #33 asked how UI/UX tests should be run, including raw-HTML and
PNG snapshots. This adds the first raw-HTML-snapshot layer from the
proposal posted on that issue: an integration test that exercises
server/ui's real routing and templating path end-to-end (real
templates, real Store types, the actual response middleware) and diffs
the output against a golden file, so unintentional markup changes show
up as a reviewable diff.
Starts with a single case (the logged-out home page) to establish the
pattern; extending to authenticated pages via testdb.SeedOAuthSession
is noted in the test's doc comment. No golden file is committed yet -
it needs to be generated once, with TEST_DATABASE_URL set, by running
the test with its -update flag, then reviewed and committed; until
then the case skips rather than failing, matching this repo's
skip-gracefully convention for missing test infrastructure.