Screenplay Pattern for E2E Tests

Screenplay is a strong — if a little cognitively heavy — approach to Playwright e2e suite organization: composable, flexible suites that map actors to roles and tasks, producing tests that reflect the user's actual journey to an outcome.

https://serenity-js.org/handbook/design/screenplay-pattern/

Haven't run it in production and the overhead is almost prohibitive, but the actor/composable-task model is worth grokking even without adopting the full framework. Feels like it has legs for agent-based UI automation too.