Skip to content

Conversation

@cristipufu
Copy link
Member

Summary

  • Add 5 Textual pilot-based E2E tests covering app rendering, greeting/numbers runtime execution, run history, and panel navigation
  • Add 4 Playwright browser E2E tests covering page load, run execution with output verification, trace tab rendering, and sidebar history
  • Add shared MockRuntimeFactory with lightweight greeting and numbers runtimes (no OTel overhead)
  • Add pytest-playwright to dev dependencies
  • Fix test_run_async_raises_when_extras_missing to run in a separate thread, avoiding Playwright's event loop contamination

Test plan

  • pytest tests/e2e/test_textual_run.py -v — 5 passed
  • pytest tests/e2e/test_web_run.py -v — 4 passed
  • pytest tests/ -v — all 22 tests pass together (no event loop conflicts)

🤖 Generated with Claude Code

cristipufu and others added 3 commits February 12, 2026 14:15
Add end-to-end tests covering the core run flow (select entrypoint,
configure input, execute, verify output) for both the Textual TUI
and the web frontend.

- 5 Textual pilot tests (app render, greeting run, numbers run, history, navigation)
- 4 Playwright browser tests (page load, run + output, traces tab, sidebar history)
- Shared MockRuntimeFactory with lightweight greeting/numbers runtimes
- pytest-playwright added to dev dependencies
- Fix existing test_run_async_raises_when_extras_missing to use a separate
  thread, avoiding Playwright's event loop contamination

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add `playwright install chromium` step to test workflow
- Fix unsorted imports and remove unused ENTRYPOINT_GREETING import
- Remove broken skipif marker; let tests run with installed chromium
- Add ruff/mypy pre-commit rule to CLAUDE.md

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@cristipufu cristipufu self-assigned this Feb 12, 2026
@cristipufu cristipufu merged commit da6f305 into main Feb 12, 2026
11 checks passed
@cristipufu cristipufu deleted the feat/e2e-tests branch February 12, 2026 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant