fix web ui smoke and brand assets
This commit is contained in:
@@ -0,0 +1,61 @@
|
||||
# Automation Step 1 Foundation Report
|
||||
|
||||
Date: 2026-06-29
|
||||
|
||||
## Scope
|
||||
|
||||
- Created the shared automated test workspace under `tests/`.
|
||||
- Added root test script entry points.
|
||||
- Added an idempotent fixed test data seed script at `prisma/seed-test.ts`.
|
||||
|
||||
## Changed Files
|
||||
|
||||
- `package.json`
|
||||
- `prisma/seed-test.ts`
|
||||
- `tests/README.md`
|
||||
- `tests/api/README.md`
|
||||
- `tests/web/README.md`
|
||||
- `tests/smoke/README.md`
|
||||
- `tests/fixtures/README.md`
|
||||
- `tests/reports/README.md`
|
||||
|
||||
## Script Entry Points
|
||||
|
||||
- `pnpm test:baseline`
|
||||
- `pnpm test:api`
|
||||
- `pnpm test:all-local`
|
||||
- `pnpm db:seed:test`
|
||||
|
||||
## Verification
|
||||
|
||||
| Check | Result | Notes |
|
||||
| --- | --- | --- |
|
||||
| `package.json` parse | PASS | JSON parsed successfully. |
|
||||
| `tsc --noEmit prisma/seed-test.ts` | PASS | Prisma unique keys and TypeScript types compile. |
|
||||
| `eslint prisma/seed-test.ts --max-warnings=0` | PASS | No lint violations. |
|
||||
| `pnpm db:seed:test` | BLOCKED | Script starts correctly but local MySQL is not reachable at `127.0.0.1:3306`. |
|
||||
|
||||
## Seed Data Coverage
|
||||
|
||||
- Test users and roles for admin, viewer, finance, quality, customer gateway, vendor gateway, active call, and audit flows.
|
||||
- Customer fixtures for normal balance and low balance scenarios.
|
||||
- Business prefixes `671` and `672`.
|
||||
- Vendor, primary/backup vendor gateways, codecs, prefix rewrite, forbidden period, caller rewrite pool.
|
||||
- Landing line group with weighted primary/backup gateway items.
|
||||
- Customer IP and SIP gateways, gateway IP, business prefix bindings, caller prefix, and policy.
|
||||
- Number library seed for city, mobile segment, area code, and carrier prefix rule.
|
||||
- Rated CDR, recording, sampling rule, and quality review samples.
|
||||
|
||||
## Current Blocker
|
||||
|
||||
Local database service is not running or not reachable:
|
||||
|
||||
```text
|
||||
Can't reach database server at `127.0.0.1:3306`
|
||||
```
|
||||
|
||||
After MySQL is available, rerun:
|
||||
|
||||
```powershell
|
||||
corepack pnpm@10.33.0 db:seed:test
|
||||
```
|
||||
Reference in New Issue
Block a user