Rename the step decorator in showcase_repl_actor_run_steps.py from
'the JSON should be valid' to 'the examples JSON content is valid'
to avoid collision with the identical step already defined in
aimodelsproviders_steps.py (which uses a different context variable).
Update the matching step text in showcase_repl_actor_run.feature.
ISSUES CLOSED: #7552
The BDD test step_commands_include checks for exact list membership.
"agents actor run" was missing from the commands list, causing the
"Showcase commands list is not empty" scenario to fail with:
AssertionError: Command 'agents actor run' not found in commands list
- Remove unused import os from showcase_repl_actor_run_steps.py
- Fix import order (given, then, when) per ruff I001
- Remove unnecessary "r" mode argument from open() calls (UP015)
- Fix step_check_repl_entry to actually find the REPL entry in examples.json
(was a no-op pass that left context.repl_entry unset, causing test failures)
- Register REPL and actor run showcase in examples.json
- Add BDD tests for showcase documentation structure
- Verify markdown file exists and is properly formatted
- Validate JSON metadata for showcase entry
- Test documented commands and content sections
Closes#7552