Stale desk/snapshot tests fail after route and filter changes #13
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Four tests fail on main, all from intentional code changes the tests were never updated for:
TestDB_SnapshotArticles—SnapshotArticlesfilters out content-less articles (added ineea4578) but the test creates articles with no content.TestServer_DeskSnapshots/_HTMX—/desk/snapshotsnow 302-redirects to the per-outlet/desk/snapshots/{site}(8b622e0); tests still hit the old URL and use content-less articles. The HTMX test also keyed the partial on HX-Request, but the handler keys on HX-Target=snapshot-panel.TestServer_DeskBreaking—/deskwas rebuilt from a 'Breaking' list into a 'Kandidater' ranking view (ab324d7) with different data requirements (pre-cutoff snapshot, summary, non-empty keywords).No product bug; update the tests to match current behavior.