assert_contains
Check whether the current TUI screen contains specified text; if not, report failure with a screen excerpt for debugging.
Instructions
Assert the current screen contains text; on failure includes a screen excerpt.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| session_id | No | default | |
| use_buffer | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | Yes | ||
| found | Yes | ||
| passed | Yes | ||
| success | Yes | ||
| expected | Yes | ||
| session_id | Yes | ||
| screen_excerpt | Yes |