Skip to content

Proposal: Playwright as an opt-in E2E testing addon #1114

Open

Description

@julius-retzer

Problem: A scaffolded Better-T-Stack app ships with no test setup and no opt-in to add one. E2E in particular is absent.

Proposal: Add playwright as an opt-in addon (off by default), following the existing lefthook addon pattern (#711):

  • E2E only, web frontends only (gated off native-only stacks)
  • Generates playwright.config + one example spec + test:e2e scripts in apps/web
  • Browser install left as a documented post-step (npx playwright install)
  • CI workflow left out of v1 to avoid the template owning flaky/heavy CI

Scoped deliberately narrow to sidestep the usual "which runner do we bless / maintenance burden" concerns — one tool, opt-in, template-only.

Happy to open the PR if you're open to it. Anything you'd want scoped differently?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions