Skip to content

Adds Playwright E2E tests [experimental]#580

Open
allanlasser wants to merge 7 commits intomasterfrom
allanlasser/labs/playwright
Open

Adds Playwright E2E tests [experimental]#580
allanlasser wants to merge 7 commits intomasterfrom
allanlasser/labs/playwright

Conversation

@allanlasser
Copy link
Member

@allanlasser allanlasser commented Feb 10, 2026

I used Claude Code to help me setup and author a basic suite of E2E tests for our organization pages.

  • Adds Playwright setup, teardown, and inv command
  • Adds tests across Chromium, Webkit, and Gecko
  • Adds dedicated database volume for E2E tests
  • Seeds database with test data during runs
  • Adds a few organization tests for validation
  • Disables rate limits when running locally
  • Updates README with E2E testing instructions

Right now, these only run locally after setting up your local dev environment.

I haven't yet investigated whether these can run in a GitHub Action as part of our CI process. I've validated this, and E2E tests successfully run in GitHub Actions! 🎉 See the action log below.

The tests aren't lightning fast, but they're not sluggish. This suite of 34 tests takes about 60s to run on my local machine, and about 90s to run on GitHub Actions once the environment was built—there may be some performance optimizations we can make to our runner config.

- Adds Playwright setup, teardown, and inv command
- Adds tests across Chromium, Webkit, and Gecko
- Adds dedicated database volume for E2E tests
- Seeds database with test data during runs
- Adds a few organization tests for validation
- Disables rate limits when running locally
- Updates README with E2E testing instructions
@allanlasser allanlasser changed the base branch from allanlasser/redesign-orgs-rebase to master February 10, 2026 21:09
@allanlasser allanlasser temporarily deployed to squarelet-pi-allanlasse-vztqcy February 10, 2026 21:27 Inactive
@allanlasser allanlasser temporarily deployed to squarelet-pi-allanlasse-xicldh February 11, 2026 14:24 Inactive
Since this is an expensive and time-consuming operation, we just want to make sure our `master` branch is protected against incoming changes that fail E2E.

For workflows where we're merging into a feature branch, this helps us stay nimble while ensuring the feature is stable.
@allanlasser allanlasser temporarily deployed to squarelet-pi-allanlasse-xicldh February 11, 2026 15:32 Inactive
@allanlasser allanlasser marked this pull request as ready for review February 11, 2026 15:34
Copy link
Member

@mitchelljkotler mitchelljkotler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me - I'd be interested in if it runs on GitHub actions so it can be run automatically

@allanlasser allanlasser requested a deployment to squarelet-pi-allanlasse-xicldh February 12, 2026 16:28 Abandoned
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.

2 participants