summaryrefslogtreecommitdiffhomepage
path: root/packages/app/README.md
diff options
context:
space:
mode:
authorAdam <[email protected]>2026-01-17 20:52:21 -0600
committerAdam <[email protected]>2026-01-19 09:03:52 -0600
commit03d7467ea268f2f0f8d99f48ea1522741014b4bf (patch)
tree5df719dfef2b7d67fad86405a99cd2375174c41b /packages/app/README.md
parent23e9c02a7fd80063dd49e3b9cbd2a0c6519034bc (diff)
downloadopencode-03d7467ea268f2f0f8d99f48ea1522741014b4bf.tar.gz
opencode-03d7467ea268f2f0f8d99f48ea1522741014b4bf.zip
test(app): initial e2e test setup
Diffstat (limited to 'packages/app/README.md')
-rw-r--r--packages/app/README.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/packages/app/README.md b/packages/app/README.md
index bd10e6c8d..42a688150 100644
--- a/packages/app/README.md
+++ b/packages/app/README.md
@@ -29,6 +29,21 @@ It correctly bundles Solid in production mode and optimizes the build for the be
The build is minified and the filenames include the hashes.<br>
Your app is ready to be deployed!
+## E2E Testing
+
+The Playwright runner expects the app already running at `http://localhost:3000`.
+
+```bash
+bun add -D @playwright/test
+bunx playwright install
+bun run test:e2e
+```
+
+Environment options:
+
+- `PLAYWRIGHT_BASE_URL` (default: `http://localhost:3000`)
+- `PLAYWRIGHT_PORT` (default: `3000`)
+
## Deployment
You can deploy the `dist` folder to any static host provider (netlify, surge, now, etc.)