Activity feed: gate titles and UTC label
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Assistant: claude-code Assistant-Model: sonnet Assistant-Process: 295952@bnt-lap001 Assistant-Session: e93f64ad-516c-46eb-9666-aad8d300c477
This commit is contained in:
parent
b75d159ddd
commit
a6ee6a0a6e
4 changed files with 27 additions and 4 deletions
|
|
@ -41,6 +41,16 @@ def test_latest_activities_are_newest_first_across_packs_and_cover_the_main_even
|
|||
assert len(activity.latest([v1, v2], 3)) == 3
|
||||
|
||||
|
||||
def test_gate_events_use_the_gate_title(tmp_path):
|
||||
(v2,) = repo_with(tmp_path, "two2")
|
||||
q = run2.create(v2, "cy", {"logdir": "/tmp/rtut-act-z"})
|
||||
for sid in ("read-the-sign", "light-lamp", "read-the-sky"):
|
||||
run2.start(q, sid); run2.verify(q, sid, confirm=True, manual_ok=True); run2.complete(q, sid)
|
||||
run2.gate_check(q, "lamp-check", 0, manual_ok=True); run2.gate_check(q, "lamp-check", 1)
|
||||
text = " | ".join(e["text"] for e in activity.latest([v2], 30))
|
||||
assert "gate “The lamp burns steadily” passed" in text and "lamp-check" not in text
|
||||
|
||||
|
||||
def test_overrides_and_changed_values_are_visible_in_the_feed(tmp_path):
|
||||
(v2,) = repo_with(tmp_path, "two2")
|
||||
q = run2.create(v2, "cy", {"logdir": "/tmp/rtut-act-y"})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue