Review Workbench
14 requirements
·
40 scenarios
Filter Reset Button Visibility
JR-review-workbench-001
The review workbench filter controls SHALL display a reset-all-filters button when any filter deviates from its default value. The button SHALL be hidden when all filters are at their default settings.
3 test scenarios
- Button appears when compliance filter is active JR-review-workbench-001.1
- Button appears when status filter is active JR-review-workbench-001.2
- Button hidden when all filters at default JR-review-workbench-001.3
Filter Reset Behavior
JR-review-workbench-002
The reset-all-filters button SHALL reset all filters to their default state when clicked and SHALL clear any persisted filter preferences.
2 test scenarios
- Reset all filters to default JR-review-workbench-002.1
- Clear persisted filter preferences JR-review-workbench-002.2
Citation Link Navigation
JR-review-workbench-004
Citation links in the report pane SHALL navigate to and highlight the referenced paragraph in the contract pane. If the target paragraph is not found, the system SHALL handle the case gracefully.
3 test scenarios
- Click citation link scrolls to paragraph JR-review-workbench-004.1
- Citation link within contract pane navigates JR-review-workbench-004.2
- Missing target paragraph handled gracefully JR-review-workbench-004.3
Edited Response Persistence
JR-review-workbench-005
When a user edits the recommended response in the review workbench, the updated text SHALL be persisted to the backend and restored after page refresh.
2 test scenarios
- Edited response persists after reload JR-review-workbench-005.1
- Edited response saved to backend JR-review-workbench-005.2
Row Status Merge Integrity
JR-review-workbench-007
Incoming review row updates SHALL be merged with existing rows according to a shared contract, not replaced wholesale. User-applied statuses such as ignored or applied SHALL be preserved unless explicitly overridden.
3 test scenarios
- SSE update preserves ignored status JR-review-workbench-007.1
- SSE update applies explicit reopen JR-review-workbench-007.2
- Full refresh preserves applied status JR-review-workbench-007.3
Row Status State Machine
JR-review-workbench-008
Row status transitions SHALL follow an explicit state machine and reject invalid regressions. Applied status SHALL be terminal unless explicitly undone. Ignored status SHALL persist until explicitly reopened.
3 test scenarios
- Applied is terminal unless undone JR-review-workbench-008.1
- Ignored persists until reopened JR-review-workbench-008.2
- Reopen explicitly clears ignored status JR-review-workbench-008.3
Backend Status Authority
JR-review-workbench-009
The backend SHALL persist row status updates and include status in all review row payloads. Status changes SHALL be durably stored and reflected in all subsequent data retrievals.
2 test scenarios
- Ignore status persisted and emitted JR-review-workbench-009.1
- Apply status persisted and emitted JR-review-workbench-009.2
Ignore Action Independence
JR-review-workbench-010
The Ignore action in the review workbench SHALL remain enabled and clickable regardless of whether document edits are currently being applied. The UI SHALL update immediately using optimistic updates and roll back on API failure.
4 test scenarios
- Ignore button enabled during edit in progress JR-review-workbench-010.1
- Ignore updates UI immediately JR-review-workbench-010.2
- Ignore rolls back on API failure JR-review-workbench-010.3
- Multiple findings ignorable during batch edit JR-review-workbench-010.4
Background Review Monitoring
JR-review-workbench-011
The frontend SHALL maintain SSE connections for all reviews with processing or pending status, regardless of which review is active in the workbench. Switching the active review SHALL NOT disconnect processing streams for other reviews.
2 test scenarios
- Background completion updates review status JR-review-workbench-011.1
- Switching review preserves processing streams JR-review-workbench-011.2
Edited Badge Accuracy
JR-review-workbench-012
The "(edited)" badge in recommendation cells SHALL only appear when the user has actually modified the text content. Opening and closing the editor without changes SHALL NOT trigger the badge.
3 test scenarios
- Badge absent after open-close without changes JR-review-workbench-012.1
- Badge shown after actual text modification JR-review-workbench-012.2
- Badge preserved after subsequent no-op edits JR-review-workbench-012.3
Genealogy Persistence Across Paths
JR-review-workbench-013
Apply edit operations SHALL persist genealogy steps regardless of the execution path used. Both precomputed and dynamically generated genealogy SHALL be durably stored.
2 test scenarios
- Precomputed genealogy persisted on replay JR-review-workbench-013.1
- Dynamic genealogy persisted on direct apply JR-review-workbench-013.2
Report Table Column Layout
JR-review-workbench-016
The review workbench report table SHALL consolidate compliance and analysis into one column and recommended response and suggested edits into one column for a streamlined layout.
2 test scenarios
- Consolidated column headers displayed JR-review-workbench-016.1
- Recommended response visible by default JR-review-workbench-016.2
Analysis Details Expand and Collapse
JR-review-workbench-017
The report table SHALL collapse analysis details by default and provide both per-row and global controls for expanding analysis details. The user's default preference SHALL be persisted.
4 test scenarios
- Analysis collapsed by default JR-review-workbench-017.1
- Per-row analysis toggle works JR-review-workbench-017.2
- Global analysis toggle works JR-review-workbench-017.3
- Analysis default preference persisted JR-review-workbench-017.4
Batch Edit Application with Progress
JR-review-workbench-020
The system SHALL provide batch apply actions that dispatch progress events during batch edit operations for cross-view status tracking. Progress events SHALL include start, per-edit progress, and completion notifications. Ignored rows SHALL be excluded from the pending count.
5 test scenarios
- Batch apply dispatches start event JR-review-workbench-020.1
- Batch apply dispatches progress events JR-review-workbench-020.2
- Batch apply dispatches complete event JR-review-workbench-020.3
- Batch apply with comments follows same pattern JR-review-workbench-020.4
- Ignored rows excluded from pending count JR-review-workbench-020.5