Skip to content

test(ops): add claim detail page section render coverage#97

Merged
AAdewunmi merged 2 commits intomainfrom
chore/add-claim-detail-ui-tests
Feb 18, 2026
Merged

test(ops): add claim detail page section render coverage#97
AAdewunmi merged 2 commits intomainfrom
chore/add-claim-detail-ui-tests

Conversation

@AAdewunmi
Copy link
Owner

Summary

Adds coverage for the Ops claim detail page to verify the route renders successfully and core timeline sections are present.

Changes

  • Added tests/test_ops_claim_detail.py.
  • Introduced an authenticated UI test for ops:claim-detail.
  • Seeded minimal related data (claim, SLA clock, audit event) needed to render the page.
  • Asserted response status is 200.
  • Asserted presence of key section headings:
    • Claim #<id>
    • SLA
    • ML completeness
    • Documents
    • Notes
    • Decisions
    • Audit timeline

Why

  • Protects against regressions where the detail page fails to render or drops critical sections.
  • Keeps test scope lightweight and stable by validating section presence rather than deep HTML structure.

Scope

  • Test-only change.
  • No template, view, model, or routing changes.

@AAdewunmi AAdewunmi self-assigned this Feb 18, 2026
@AAdewunmi AAdewunmi added the week-5-tests-ui-db-claim-detail Add claim detail UI tests label Feb 18, 2026
@AAdewunmi AAdewunmi linked an issue Feb 18, 2026 that may be closed by this pull request
@codecov
Copy link

codecov bot commented Feb 18, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@AAdewunmi AAdewunmi merged commit 281b732 into main Feb 18, 2026
2 checks passed
@AAdewunmi AAdewunmi deleted the chore/add-claim-detail-ui-tests branch February 18, 2026 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

week-5-tests-ui-db-claim-detail Add claim detail UI tests

Projects

Development

Successfully merging this pull request may close these issues.

Add claim detail UI tests

1 participant

Comments