📌 Description
The existing verifier integration test covers approve. A complementary
integration test should drive the reject path from ValidationDetail through the
verifier store, asserting the task leaves the pending queue and lands in history
as rejected with notes.
🎯 Requirements and Context
- Open a task, check criteria, reject with notes, confirm in modal.
- Assert the task is removed from pending and present in history as
rejected.
- Assert the notes are persisted on the history record.
🛠️ Suggested Execution
1. Fork the repo and create a branch
git checkout -b test/verifier-reject-flow
2. Implement changes
- Extend
src/pages/__tests__/verifierFlow.integration.test.tsx.
3. Test and commit
- Run
npm test.
- Cover edge cases: reject without notes, criteria gate blocks reject if
required, history reflects status, queue count decremented.
Example commit message
test: verifier reject flow queue-to-history integration coverage
✅ Guidelines
- Minimum 95% test coverage on the new/changed lines.
- RTL-based integration assertions.
- Timeframe: 96 hours.
🏷️ Labels
type-testing · area-frontend · MAYBE REWARDED · GRANTFOX OSS · OFFICIAL CAMPAIGN
💬 Community & Support
- Join the Disciplr contributor Discord to coordinate, ask questions, and get
unblocked fast: https://discord.gg/xvNAvMJf
- Please introduce yourself in the channel before you start so we can avoid
duplicate work, pair you with a reviewer, and get your PR merged quickly.
- Maintainers actively triage this channel and aim for fast, clear, respectful
reviews — reach out any time you're blocked.
📌 Description
The existing verifier integration test covers approve. A complementary
integration test should drive the reject path from
ValidationDetailthrough theverifier store, asserting the task leaves the pending queue and lands in history
as rejected with notes.
🎯 Requirements and Context
rejected.🛠️ Suggested Execution
1. Fork the repo and create a branch
2. Implement changes
src/pages/__tests__/verifierFlow.integration.test.tsx.3. Test and commit
npm test.required, history reflects status, queue count decremented.
Example commit message
✅ Guidelines
🏷️ Labels
type-testing·area-frontend·MAYBE REWARDED·GRANTFOX OSS·OFFICIAL CAMPAIGN💬 Community & Support
unblocked fast: https://discord.gg/xvNAvMJf
duplicate work, pair you with a reviewer, and get your PR merged quickly.
reviews — reach out any time you're blocked.