diff --git a/internal/web/uploads_shots_test.go b/internal/web/uploads_shots_test.go index 2a227d7..bc6c8c1 100644 --- a/internal/web/uploads_shots_test.go +++ b/internal/web/uploads_shots_test.go @@ -47,6 +47,9 @@ func TestRenderUploadProgressStatesForReview(t *testing.T) { step("save", "Saving the transcript", domain.StepDone, time.Minute, time.Second, 0, 0), } + noted := twoEngineRun() + noted[1].Note = "The audio is 20 min long; the file claimed 1 h 19 min. If the recording was cut off, upload the complete one." + cases := []struct { name, status, content string steps []domain.ProgressStep @@ -58,6 +61,7 @@ func TestRenderUploadProgressStatesForReview(t *testing.T) { {"lost", "transcribing", "", twoEngineRun(), 3 * time.Minute, 3 * time.Minute}, {"failed", "failed", "transcription_failed", failed, 2 * time.Minute, 2 * time.Minute}, {"done", "done", "Synthetic transcript text for the review.", done, time.Minute, time.Minute}, + {"noted", "transcribing", "", noted, 10 * time.Second, 4 * time.Second}, {"queued", "queued", "", nil, 0, 0}, } for _, c := range cases {