test(web): the lost job's running phase carries a warning mark (red; found in the screenshot review)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -145,6 +145,7 @@ func TestUploadProgress_AHeartbeatThatStoppedMeansTheServiceIsLostAndTheJobIsNot
|
|||||||
assert.Contains(t, b, "stopped reporting")
|
assert.Contains(t, b, "stopped reporting")
|
||||||
assert.Contains(t, b, "3 min", "how long ago it was last heard from")
|
assert.Contains(t, b, "3 min", "how long ago it was last heard from")
|
||||||
assert.NotContains(t, b, "spinner", "a lost job must not wear the running spinner")
|
assert.NotContains(t, b, "spinner", "a lost job must not wear the running spinner")
|
||||||
|
assert.Contains(t, b, "step-mark-warn", "the running phase of a lost job carries a warning mark, in the error colour, not the accent")
|
||||||
assert.Contains(t, b, `hx-trigger="every`, "it keeps asking: a restarted service comes back, or the start-up sweep fails the row")
|
assert.Contains(t, b, `hx-trigger="every`, "it keeps asking: a restarted service comes back, or the start-up sweep fails the row")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user