Repository navigation
Playwright Adapter 2026 10 19
Since Playwright JSON Import - 2026-10-22 the adapter uses the
jsonreporter instead ofjunit(--reporter=list,json,html,test-results/testo-results.json), and the JUnit file is only the fallback for a stage with its own--reporter. The rest of this note still holds.
Playwright already ran as a command stage, but only if the user knew to add --reporter=junit, point PLAYWRIGHT_JUNIT_OUTPUT_FILE (or the config) at a file and repeat that path in junit_xml. Its HTML report was lost between runs, and workers did nothing. Playwright is the most common browser test runner people ask about, so it gets its own equipment.
-
equipment: playwrightmaps toPlaywrightAdapter(testo_core/frameworks/playwright_adapter.py). It runsnpx playwright test <args>and adds--reporter=list,junit,htmland--workers=N, each only whenargsdon't already set it. - Two optional adapter hooks, read with
getattrby the executor so other adapters are unaffected:-
stage_env(target_repo=, results_dir=)returns env that depends on the stage's paths. Playwright uses it forPLAYWRIGHT_JUNIT_OUTPUT_FILE,PLAYWRIGHT_HTML_OUTPUT_DIR(the stage's artifacts dir) andPLAYWRIGHT_HTML_OPEN=never. The stage's ownextra_envstill wins. -
default_junit_xmlgives the JUnit globs to import when the stage sets nojunit_xml. The import is the same onecommandstages use (Command Adapter and JUnit Import).
-
-
native_report()returns the HTML report, so it is copied tostatic/history/<run_id>/native_reports/playwright/and linked from the run in the UI. - Default tier
e2e;playwrightis inPARALLEL_FRAMEWORKS;doctorandconfig validate --check-executableslook fornpx.
- The target project installs
@playwright/testand its browsers itself; Testosterone adds no Node dependency. -
workers(default 4) overridesworkersinplaywright.config. Put--workersinargsto keep the config's value. - The JUnit file is written to
test-results/testo-junit.xmlin the target repo, Playwright's own output folder, which projects usually ignore already.
Usage: Architecture Overview § frameworks.
Generated from docs/Specs & ADRs/Playwright Adapter - 2026-10-19.md. Edit it there; changes made in the wiki are overwritten.
Architecture
CLI Commands
Processes & Guides
- CI-CD Pipeline Setup
- E2E Harness Operations Guide
- GitLab Pages Demo
- Publishing Docker Images
- Publishing to Artifactory
- Publishing to PyPI
- Team Server
Prompts & Snippets
Roadmap & Strategy
Specs & ADRs
- Alerts Where Developers Look - 2026-10-22
- Architecture Consolidation - 2026-10-06
- BehaveX Reports - 2026-10-21
- Command Adapter and JUnit Import - 2026-09-25
- Config JSON Schema - 2026-10-22
- Delta Comparison Policy
- Docs Site - 2026-10-19
- Docs Vault and Wiki Sync - 2026-10-07
- Flaky Test Quarantine - 2026-10-22
- GitHub Action PR Comment - 2026-10-19
- Ingest and Team Server - 2026-10-22
- Interview Readiness Fixes - 2026-10-07
- Library Packaging
- Open Source Features - 2026-10-19
- Phase 3 Delta Comparison Engine Plan
- Phase 3 Unified Dashboard Plan
- Phase 4 BYOK and Failure Analysis
- Phase 5 UI Redesign - Cycles-First Navigation
- Playwright Adapter - 2026-10-19
- Playwright JSON Import - 2026-10-22
- Plugin API - 2026-10-19
- Specs & ADRs
- Repository Pattern - Database-Agnostic Refactor
- UI Restyle - 2026-10-19
Testing Workflows
Vault