Files
gochat/docs/parity/frontend_smoke_report.md
T
2026-06-07 01:56:41 +08:00

86 lines
2.7 KiB
Markdown

# Frontend Smoke Report
Updated: 2026-06-06T17:52:53Z
## Status
Harness readiness check passed; live frontend smoke not run in this mode.
## Boot Command
```bash
scripts/parity_frontend_smoke.sh --boot-only
```
## API Smoke Command
```bash
scripts/parity_frontend_smoke.sh --api-smoke
```
## Browser Smoke Command
```bash
scripts/parity_frontend_smoke.sh --browser-smoke
```
## Enterprise Smoke Command
```bash
scripts/parity_frontend_smoke.sh --enterprise-smoke
```
## Enterprise Browser Smoke Command
```bash
scripts/parity_frontend_smoke.sh --enterprise-browser-smoke
```
## 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/company/conversation data plus CSAT, 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`