test: cover transaction persistence integrations
Quality / test (push) Canceled after 0s

Add PostgreSQL integration coverage for acquisitions, pricing valuations, multi-item sales, audited voiding, and document the expanded integration baseline.
This commit is contained in:
2026-09-09 09:10:51 -04:00
parent 2feb5006cb
commit 13f0f3a565
3 changed files with 173 additions and 1 deletions
+1 -1
View File
@@ -118,7 +118,7 @@ docker context use orbstack
| HTTP | Product and inventory creation, validation, authentication/recovery, CSRF, rate limiting, and session management |
| Integration | PostgreSQL catalog/session/audit/password recovery persistence and Redis-shared login throttling |
Latest result: API, web, build, Storybook build, and Storybook interaction/accessibility checks pass locally. The authenticated E2E workflow covers acquisition, image upload, pricing, listing publication, sale recording, dashboard loading, and audited sale voiding.
Latest result: API, web, build, Storybook build, and Storybook interaction/accessibility checks pass locally. The isolated integration suite passes 20 tests, including acquisition, pricing, multi-item sales, audited sale voiding, and seller ownership persistence. The authenticated E2E workflow covers acquisition, image upload, pricing, listing publication, sale recording, dashboard loading, and audited sale voiding.
## Next Milestone
+15
View File
@@ -25,6 +25,21 @@ Test:
- sales transactions
- public/private DTO boundaries
Run the isolated PostgreSQL/Redis integration suite with the test environment
loaded into the shell:
```sh
set -a
. ./.env
set +a
npm run test:integration
```
The PostgreSQL database name must end in `_test`. The suite covers catalog,
session, image derivative, listing visibility, Redis login throttling,
acquisition, pricing observations/valuations, multi-item sales, audited sale
voiding, and seller ownership persistence.
## Component
Test important Vue components and composables. Every new or changed visual component must include a colocated Storybook story or an update to an existing story before its vertical slice is committed.