Feedback section closes after collection and links back to the runbook list
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
3938114747
commit
3fc279a6ed
2 changed files with 13 additions and 8 deletions
|
|
@ -215,6 +215,10 @@ def test_feedback_form_after_all_steps_done_and_recording(srv):
|
|||
assert st == 303 and loc2.endswith("#feedback")
|
||||
_, _, body = req(srv, "GET", base)
|
||||
assert "Thank you." in body and "step 3 was unclear" in body
|
||||
assert "How was this runbook?" not in body # the section closed once feedback was collected
|
||||
assert "<a href='/'>← Back to the runbook list</a>" in body # the probable next step
|
||||
assert "Change my feedback" in body # the form is still reachable, folded away
|
||||
assert req(srv, "GET", "/")[0] == 200
|
||||
|
||||
|
||||
def test_feedback_validation(srv):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue