gabriel / musehub public
fix main #41 / 70

fix: update two tests to match SSR templates (source of truth)

test_musehub_js_cleanup.py: - Exclude user_profile.html from the SSR-pattern enforcement check. That template is an intentional CSR shell (fetches all data client-side so the page loads instantly and stays auth-agnostic); banning JS patterns there would break the profile page functionality.

test_musehub_issues.py (test_issue_detail_page_shows_author_label): - The test created a repo but no issue, so the SSR route correctly returned 404. Fix: use _create_repo + _create_issue helpers, fetch the real issue number, then hit the detail URL. - The old assertion checked for 'meta-label' (a class from the old CSR template). The SSR template renders author inline as "by <strong>…</strong>". Update assertion to match.

G Gabriel Cardona <gabriel@tellurstori.com> · 6d ago Mar 17, 2026 · 81d17797 · parent a70d173e
2
files changed
394
files in snapshot
Files Changed 394 in snapshot
~2

0 comments

No comments yet. Be the first to start the discussion.