UI: state marking top right of the step frame, number and title left
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
86ac0bebbe
commit
7d0067a324
2 changed files with 13 additions and 3 deletions
|
|
@ -154,3 +154,11 @@ def test_fail_without_comment_warns_first_then_is_allowed(srv):
|
|||
assert st == 303
|
||||
_, _, body = req(srv, "GET", base)
|
||||
assert "(no comment)" in body and "Retry" in body
|
||||
|
||||
|
||||
def test_state_pill_is_top_right_after_the_numbered_title(srv):
|
||||
t, loc, _ = _showcase_run(srv)
|
||||
_, _, body = req(srv, "GET", loc.split("#")[0])
|
||||
head = body[body.index("<div class=head>"):]
|
||||
assert head.index("1. Read the poem") < head.index("class=pill") # number and title first, state last
|
||||
assert "justify-content:space-between" in body # pill pushed to the right edge
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue