test(parity): add frontend smoke harness
This commit is contained in:
@@ -0,0 +1,61 @@
|
||||
# Frontend Smoke Report
|
||||
|
||||
Updated: 2026-06-05T06:08:51Z
|
||||
|
||||
## Status
|
||||
|
||||
Harness readiness check passed; live frontend smoke not run in this mode.
|
||||
|
||||
## Boot Command
|
||||
|
||||
```bash
|
||||
scripts/parity_frontend_smoke.sh --boot-only
|
||||
```
|
||||
|
||||
## Backend
|
||||
|
||||
- URL: http://127.0.0.1:3000
|
||||
- Command: `env GOCHAT_ENV=development GOCHAT_SERVER_HOST=127.0.0.1 GOCHAT_SERVER_PORT=3000 GOCHAT_SERVER_MODE=debug GOCHAT_SEARCH_ENGINE=meilisearch GOCHAT_SEARCH_HOST=http://127.0.0.1:7700 GOCHAT_SEARCH_API_KEY=gochat_dev GOCHAT_CAPTAIN_ENABLED=false go run ./cmd/gochat serve`
|
||||
- Search: `meilisearch` at `http://127.0.0.1:7700`
|
||||
- Log: `/home/rogee/Projects/gochat/.tmp/frontend-smoke/gochat.log`
|
||||
|
||||
## Reused Chatwoot Frontend
|
||||
|
||||
- URL: http://127.0.0.1:3036
|
||||
- Source: `/home/rogee/Projects/gochat/reference/chatwoot`
|
||||
- Command: `(cd /home/rogee/Projects/gochat/reference/chatwoot && env CHATWOOT_API_HOST=http://127.0.0.1:3000 pnpm exec vite --host 127.0.0.1 --port 3036)`
|
||||
- Log: `/home/rogee/Projects/gochat/.tmp/frontend-smoke/chatwoot-vite.log`
|
||||
|
||||
## Seed Path
|
||||
|
||||
```bash
|
||||
GOCHAT_SEED_ADMIN_EMAIL=admin@gochat.local \
|
||||
GOCHAT_SEED_ADMIN_PASSWORD=changeme \
|
||||
GOCHAT_SEED_ACCOUNT_NAME="B12 Smoke Account" \
|
||||
GOCHAT_SEED_INBOX_NAME="B12 Smoke Website Inbox" \
|
||||
go run ./cmd/gochat seed
|
||||
```
|
||||
|
||||
The seed command creates deterministic login/account/inbox/contact/conversation data plus SLA, CustomRole, AgentCapacity, and Captain fixtures for the smoke paths.
|
||||
|
||||
## Smoke Matrix
|
||||
|
||||
| Area | Current result | Owner if failing |
|
||||
| --- | --- | --- |
|
||||
| Boot GoChat backend | Not run in check mode | B12.1 |
|
||||
| Boot reused Chatwoot Vite frontend | Not run in check mode | B12.1 |
|
||||
| Auth/profile | Pending browser/API smoke | B2/B12.2 |
|
||||
| Inbox list/settings | Pending browser/API smoke | B5/B12.2 |
|
||||
| Conversation list/detail/message send | Pending browser/API smoke | B3/B12.2 |
|
||||
| Contact/company views | Pending browser/API smoke | B4/B12.2 |
|
||||
| Widget config/message | Pending browser/API smoke | B12.2 |
|
||||
| Public CSAT | Pending browser/API smoke | B8/B12.2 |
|
||||
| Enterprise screens | Pending browser/API smoke | B7-B11/B12.3 |
|
||||
|
||||
## Notes
|
||||
|
||||
Run `scripts/parity_frontend_smoke.sh --boot-only` after PostgreSQL, Redis, Meilisearch, and Chatwoot frontend dependencies are available.
|
||||
|
||||
When using the default Meilisearch-first boot command, start Meilisearch separately, for example:
|
||||
|
||||
`docker run --rm -p 7700:7700 -e MEILI_MASTER_KEY=gochat_dev getmeili/meilisearch:latest`
|
||||
Reference in New Issue
Block a user