23 lines
583 B
Text
23 lines
583 B
Text
# Backend live API tests — local credentials.
|
|
# Copy to `tests/.env` and fill in, or run `bun run tests/seed-local.ts`
|
|
# (which creates the e2e_* principals in local D1 and writes this file).
|
|
|
|
API_BASE_URL=http://localhost:8787
|
|
|
|
TEST_STAFF_NAME=
|
|
TEST_STAFF_PASSWORD=
|
|
|
|
TEST_USER_IDENTIFIER=
|
|
TEST_USER_PASSWORD=
|
|
|
|
TEST_SUPERADMIN_USERNAME=
|
|
TEST_SUPERADMIN_PASSWORD=
|
|
|
|
TEST_REGION_ID=1
|
|
TEST_BOUND_ID=1
|
|
TEST_OTHER_REGION_ID=2
|
|
TEST_OTHER_BOUND_ID=3
|
|
|
|
# products/stores are rebuilt asynchronously by the CacheCreator Durable Object.
|
|
CACHE_POLL_TIMEOUT_MS=180000
|
|
CACHE_POLL_INTERVAL_MS=3000
|