feat(demo): add Playwright browser tests, fix Homepage config mount

- Add Playwright E2E test suite covering all 13 user-facing services
- Fix Homepage HTTP 500 by removing read-only bind mount (:ro) so it
  can create its required logs/ directory
- Pin @playwright/test to exact 1.52.0 to match Docker image browsers
- Add .gitignore entries for auto-generated Homepage files and
  Playwright artifacts
- All 13 Playwright tests passing (Chromium headless)

💘 Generated with Crush

Assisted-by: GLM-5.1 via Crush <crush@charm.land>
This commit is contained in:
reachableceo
2026-05-01 11:24:59 -05:00
parent 50206dce6b
commit b03f4b2ba2
5 changed files with 69 additions and 2 deletions

View File

@@ -0,0 +1,21 @@
import { defineConfig } from '@playwright/test';
export default defineConfig({
testDir: '.',
testMatch: '*.spec.ts',
timeout: 60000,
retries: 1,
use: {
headless: true,
browserName: 'chromium',
launchOptions: {
args: ['--no-sandbox', '--disable-setuid-sandbox'],
},
},
projects: [
{
name: 'chromium',
use: { browserName: 'chromium' },
},
],
});