From e70e56a53108a291d6212ebb517f15ab1b53de01 Mon Sep 17 00:00:00 2001 From: Mathias Date: Fri, 2 Oct 2026 17:23:01 +0200 Subject: [PATCH] test(web): the render tool shows a step note Co-Authored-By: Claude Sonnet 5.5 --- internal/web/uploads_shots_test.go | 4 ++++ 1 file changed, 4 insertions(+) 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 {