Oncolysys QA Evidence

Local non-commit evidence page for ICMD upload-state fixes and the previous dismissible mismatch-warning fix.

ICMD Upload State: Toggle-Off and Locked Category

Reported behavior

7. When ICMD is enabled, the user uploads a file and disables the ICMD switch while AI analysis is running. The modal can remain in analyzing state until the row is deleted or the modal is cancelled.

8. When the user opens the upload workflow from a locked HRC category, such as Lab Tests, ICMD can start analyzing and never complete.

Fix

The shared unified-file workflow now treats switch-off as an explicit cancellation of the ICMD outcome. If a late in-flight ICMD response resolves after the switch is disabled, the row is completed through the manual/non-ICMD path instead of applying the AI result.

Regression coverage also verifies that locked Lab Tests uploads still run ICMD inference and complete as ready entries.

Changed files: useUnifiedFileWorkflow.js, AddDocumentTypeModal.test.js

Before video

Open before.mp4

After video

Open after.mp4

After video recorded through MCP Chrome

This recording was produced from a new MCP-controlled Chromium context with Playwright recordVideo, then converted to MP4 with ffmpeg in the PHP runtime container.

Open mcp-after.mp4

Previous Fix: Dismissible ICMD Patient-Mismatch Warning

Reported behavior

The patient-mismatch alert text overlapped the alert icon, and the close control did not dismiss the warning.

Fix

The alert now uses the native AntD alert spacing and native closable behavior instead of custom padding/icon overrides.

Open MP4 video

Open animated GIF

Dismissible ICMD warning animated GIF