Integration architecture
Serenity/JS works alongside Playwright Test, with each tool responsible for a different part of a test run. Playwright Test discovers, schedules, and runs scenarios; the @serenity-js/playwright-test test runner adapter makes Serenity/JS fixtures available to those scenarios and sends lifecycle information to reporting services as Domain Events. The same integration supports existing Playwright Test scenarios and scenarios written with Screenplay Pattern APIs.
Related guides
- Configuration — register the adapter and Crew Members.
- Writing tests — use Serenity/JS fixtures and Screenplay Pattern APIs.
- Reporting — choose reporters and diagnostic tools.
- Test runner adapters — understand the general adapter architecture.