Publish harness and TUI open-source
initial sync from the monorepo
This commit is contained in:
commit
c68e39f604
2734 changed files with 1437016 additions and 0 deletions
|
|
@ -0,0 +1,40 @@
|
|||
name: html-entities
|
||||
description: >
|
||||
Regression: HTML character entities in assistant prose must
|
||||
render decoded (`<` -> `<`, `>` -> `>`, `&` -> `&`, `—` -> em
|
||||
dash) rather than as literal `<`/`>` text in the real pager.
|
||||
terminal:
|
||||
rows: 40
|
||||
cols: 110
|
||||
mock:
|
||||
response: "Result is vec<T> with a & b and an — dash."
|
||||
steps:
|
||||
- action: wait_for_text
|
||||
text: Quit
|
||||
timeout_ms: 20000
|
||||
- action: type_text
|
||||
text: "show entities"
|
||||
- action: keys
|
||||
keys: "<Enter>"
|
||||
# The decoded angle brackets only appear once the entity transform runs.
|
||||
- action: wait_for_text
|
||||
text: "vec<T>"
|
||||
timeout_ms: 30000
|
||||
- action: assert_contains
|
||||
text: "a & b"
|
||||
- action: assert_contains
|
||||
text: "an — dash"
|
||||
# The raw entity source must not survive to the screen.
|
||||
- action: assert_not_contains
|
||||
text: "<"
|
||||
- action: assert_not_contains
|
||||
text: ">"
|
||||
- action: assert_not_contains
|
||||
text: "&"
|
||||
- action: assert_not_contains
|
||||
text: "—"
|
||||
- action: assert_not_contains
|
||||
text: panicked
|
||||
- action: screenshot
|
||||
name: html-entities
|
||||
note: Assistant prose with decoded HTML entities.
|
||||
Loading…
Reference in a new issue