test(web): the kept-spot assertion looks for what the page actually renders (red)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-02 09:00:56 +02:00
co-authored by Claude Sonnet 5.5
parent 6dfd53ac71
commit 8cb0b0a12d
+1 -1
View File
@@ -43,7 +43,7 @@ func TestUploadStatus_TheMoreCountIgnoresKeptSpotsAndMatchesTheListedKind(t *tes
b := body(t, do(t, app, get("/uploads/"+id+"/status"))) b := body(t, do(t, app, get("/uploads/"+id+"/status")))
assert.Contains(t, b, "10 more", "60 changed, 50 shown: the 60 kept ones do not count") assert.Contains(t, b, "10 more", "60 changed, 50 shown: the 60 kept ones do not count")
assert.NotContains(t, b, ">k0<") assert.NotContains(t, b, "k0 / j0", "a kept spot is not rendered even when it is among the first stored")
} }
func TestUploadStatus_WhenNothingNeedsCheckingThereIsNoSpotsSection(t *testing.T) { func TestUploadStatus_WhenNothingNeedsCheckingThereIsNoSpotsSection(t *testing.T) {