Multi File Email

Framework: BDD Generated: 2026-06-23 Model: claude-sonnet-4-6
Test Name: Submitting a multi-file batch returns 202 Accepted
Feature: Multi-file batch processing and email delivery
Traceability: @SHIFT-51
Description: Verifies that when a Product Owner submits multiple files for batch analysis, the system accepts the request and confirms it is being processed.
This Test Verifies:
Verification StepWhat It Checks
Enable multi-file mode and queue two files The user can add multiple files to a batch submission queue
Click the submit button The batch submission can be triggered by the user
Batch status card appears The user receives visible confirmation that their batch is being processed
Backend accepted the request with status 202 The system correctly acknowledges the batch request as accepted for async processing
Test Name: A multifile_batch_complete event is logged after the batch completes
Feature: Multi-file batch processing and email delivery
Traceability: @SHIFT-52
Description: Verifies that completing a multi-file batch submission generates a usage log event with a valid processing time, supporting analytics and monitoring.
This Test Verifies:
Verification StepWhat It Checks
Submit a single-file batch A minimal batch submission triggers the completion event flow
A multifile_batch_complete usage log event is recorded The system logs a completion event for auditing and usage tracking purposes
The event has a positive processing_ms value The logged event captures a meaningful processing duration, confirming timing data is recorded
Test Name: Batch status card transitions to complete state after processing finishes
Feature: Multi-file batch processing and email delivery
Traceability: @SHIFT-51
Description: Verifies that the batch status card progresses from a processing state to a completion state and notifies the user that results have been emailed.
This Test Verifies:
Verification StepWhat It Checks
Batch status card shown in polling state The user can see that their batch is actively being processed after submission
Wait for batch status card to show completion The status card updates automatically when processing finishes without requiring user action
Batch status card shows 'Results emailed' The user is clearly informed that their results have been delivered to their email
Test Name: Batch status card can be dismissed after completion
Feature: Multi-file batch processing and email delivery
Traceability: @SHIFT-51
Description: Verifies that once batch processing is complete, the user can dismiss the status card to clean up their workspace.
This Test Verifies:
Verification StepWhat It Checks
Wait for batch status card to show completion The dismiss option is only available after the batch has fully completed
Click the dismiss button on the batch status card The user can actively remove the status card from view
Batch status card is not visible The card is fully removed from the page after dismissal, keeping the interface uncluttered