- Remove blanket uncaught:exception suppressor (API-only tests)
- Trim smoke test to single infra-verification assertion
- Rewrite health test with strict status/field assertions, no failOnStatusCode
- Add session CRUD tests (create, get, list, delete, 404 cases, cleanup)
- Use Cypress.env('API_URL') instead of baseUrl to avoid blocking smoke tests
- Remove unused main and type fields from package.json
7 lines
274 B
JavaScript
7 lines
274 B
JavaScript
// Cypress E2E support file
|
|
|
|
// Base URL for API tests. Override with CYPRESS_API_URL env var.
|
|
// Not set as Cypress baseUrl to avoid server-reachability checks
|
|
// that would block offline tests (smoke).
|
|
Cypress.env('API_URL', Cypress.env('API_URL') || 'http://localhost');
|