Skip to content

Add end-to-end test for the claim review MVP flow#70

Closed
enlorik wants to merge 1 commit into
feature/claim-review-provider-guardrailsfrom
feature/claim-review-e2e-mvp-tests
Closed

Add end-to-end test for the claim review MVP flow#70
enlorik wants to merge 1 commit into
feature/claim-review-provider-guardrailsfrom
feature/claim-review-e2e-mvp-tests

Conversation

@enlorik

@enlorik enlorik commented Jul 9, 2026

Copy link
Copy Markdown
Owner

Add an end-to-end test for the claim review MVP flow

We had good coverage per-feature (ask, draft, save, append, discard all separately) but nothing walking the whole path in one go, so added a test that drives it start to finish: ask a question, confirm local evidence is fetched before the grounded-answer provider, see new/betterSource claims selected by default and alreadyKnown left out, toggle a claim off, generate the markdown draft, save it as a new note, append the same draft to an existing note, then discard and confirm nothing got deleted. Also checked along the way that the raw grounded-answer text never ends up in the saved markdown and that source links survive into both the saved and appended note content. Added a second smaller test confirming an alreadyKnown claim can't sneak into a saveable draft even if you try to toggle it. All fakes, no real network or API keys. Went from 509 to 511 tests, all green, analyze clean.

@enlorik

enlorik commented Jul 9, 2026

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@enlorik
enlorik force-pushed the feature/claim-review-e2e-mvp-tests branch from fb05eb8 to 967b360 Compare July 9, 2026 17:41
@enlorik
enlorik changed the base branch from main to feature/claim-review-provider-guardrails July 9, 2026 17:45
@enlorik

enlorik commented Jul 21, 2026

Copy link
Copy Markdown
Owner Author

Superseded by a clean branch rebased onto current main — reopening as new PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant