Skip to content
Testament
Passed

Run 38143296566

Branch
main
Commit
da4c094
Event
schedule
Started
Reports
3
Tests
1,044
Passed
1,044
Failed
0
Skipped
0
Duration
1m 01s

Reports in this run

StatusJob / module / platformResultsTestsReceivedTime
Passedtest/apps/backend/node501 passed50131 s
Passedtest/apps/mobile/node428 passed42827 s
Passedtest/packages/shared/node119 passed1193 s

Results

Failures first, then by suite
DetailsStatusTestLayerPlatformTime
PassedSentry instrumentation initSentry(dsn) initializes Sentry once with that DSNapps/backend/src/instrument.test.tsUnitUnitnode1 ms
PassedSentry instrumentation initSentry(undefined) is a no-op that returns falseapps/backend/src/instrument.test.tsUnitUnitnode<1 ms
PassedSentry instrumentation is a complete no-op when SENTRY_DSN is unset (init never called)apps/backend/src/instrument.test.tsUnitUnitnode1 ms
Passedcross-tenant isolation returns 404 when org B attaches an asset to org A customerapps/backend/src/routes/assets.test.tsAPIAPInode0.01 s
Passedcross-tenant isolation returns 404 when org B DELETEs org A assetapps/backend/src/routes/assets.test.tsAPIAPInode0.01 s
Passedcross-tenant isolation returns 404 when org B PATCHes org A assetapps/backend/src/routes/assets.test.tsAPIAPInode0.01 s
Passedcross-tenant isolation returns 404 when org B PUTs org A assetapps/backend/src/routes/assets.test.tsAPIAPInode0.01 s
Passedcross-tenant isolation returns 404 when org B reads org A assetapps/backend/src/routes/assets.test.tsAPIAPInode0.01 s
PassedDELETE /api/v1/assets/:id hard deletes the assetapps/backend/src/routes/assets.test.tsAPIAPInode0.01 s
PassedDELETE /api/v1/assets/:id rejects an unauthenticated request with 401apps/backend/src/routes/assets.test.tsAPIAPInode6 ms
PassedDELETE /api/v1/assets/:id returns 404 for an unknown idapps/backend/src/routes/assets.test.tsAPIAPInode0.01 s
PassedGET /api/v1/assets/:id rejects an unauthenticated request with 401apps/backend/src/routes/assets.test.tsAPIAPInode6 ms
PassedGET /api/v1/assets/:id returns 404 for an unknown idapps/backend/src/routes/assets.test.tsAPIAPInode0.02 s
PassedGET /api/v1/assets/:id returns the asset with the 5 latest service recordsapps/backend/src/routes/assets.test.tsAPIAPInode0.02 s
PassedGET /api/v1/customers/:customerId/assets lists the assets for that customerapps/backend/src/routes/assets.test.tsAPIAPInode0.02 s
PassedGET /api/v1/customers/:customerId/assets rejects an unauthenticated request with 401apps/backend/src/routes/assets.test.tsAPIAPInode6 ms
PassedPATCH /api/v1/assets/:id rejects an unauthenticated request with 401apps/backend/src/routes/assets.test.tsAPIAPInode8 ms
PassedPATCH /api/v1/assets/:id updates a fieldapps/backend/src/routes/assets.test.tsAPIAPInode0.01 s
PassedPOST /api/v1/customers/:customerId/assets creates an asset with a valid piano attributes objectapps/backend/src/routes/assets.test.tsAPIAPInode0.03 s
PassedPOST /api/v1/customers/:customerId/assets creates an asset without attributes (no template lookup needed)apps/backend/src/routes/assets.test.tsAPIAPInode0.02 s
PassedPOST /api/v1/customers/:customerId/assets rejects a bad select option with 422apps/backend/src/routes/assets.test.tsAPIAPInode0.02 s
PassedPOST /api/v1/customers/:customerId/assets rejects a wrong attribute type with 422apps/backend/src/routes/assets.test.tsAPIAPInode0.02 s
PassedPOST /api/v1/customers/:customerId/assets rejects an invalid payload with 400apps/backend/src/routes/assets.test.tsAPIAPInode0.02 s
PassedPOST /api/v1/customers/:customerId/assets rejects an unauthenticated request with 401apps/backend/src/routes/assets.test.tsAPIAPInode7 ms
PassedPOST /api/v1/customers/:customerId/assets rejects an unknown attribute key with 422apps/backend/src/routes/assets.test.tsAPIAPInode0.02 s
PassedPUT /api/v1/assets/:id rejects an unauthenticated request with 401apps/backend/src/routes/assets.test.tsAPIAPInode7 ms
PassedPUT /api/v1/assets/:id rejects bad attributes on update with 422apps/backend/src/routes/assets.test.tsAPIAPInode0.02 s
PassedPUT /api/v1/assets/:id updates and re-validates attributesapps/backend/src/routes/assets.test.tsAPIAPInode0.04 s
Passedauth middleware + routes accepts a valid token and returns the user + organizationapps/backend/src/routes/auth.test.tsAPIAPInode0.02 s
Passedauth middleware + routes ignores an organizationId claim in the token — org comes from the DB rowapps/backend/src/routes/auth.test.tsAPIAPInode0.01 s
Passedauth middleware + routes POST /session returns the app session for a valid tokenapps/backend/src/routes/auth.test.tsAPIAPInode0.02 s
Passedauth middleware + routes rejects a missing authorization header with 401apps/backend/src/routes/auth.test.tsAPIAPInode7 ms
Passedauth middleware + routes rejects a token signed by a key absent from the JWKS with 401apps/backend/src/routes/auth.test.tsAPIAPInode0.01 s
Passedauth middleware + routes rejects an expired token with 401apps/backend/src/routes/auth.test.tsAPIAPInode0.01 s
Passedauth middleware + routes returns 403 when the token is valid but the user is not provisionedapps/backend/src/routes/auth.test.tsAPIAPInode0.01 s
PassedE2E auth bypass (X-E2E-User) authenticates from the header when NODE_ENV=test AND E2E_AUTH_BYPASS=1, no JWT/JWKSapps/backend/src/routes/auth.test.tsAPIAPInode9 ms
PassedE2E auth bypass (X-E2E-User) falls through to JWT auth when the bypass is enabled but no header is sentapps/backend/src/routes/auth.test.tsAPIAPInode0.02 s
PassedE2E auth bypass (X-E2E-User) IGNORES the header unless E2E_AUTH_BYPASS=1 — falls through to normal authapps/backend/src/routes/auth.test.tsAPIAPInode7 ms
PassedE2E auth bypass (X-E2E-User) returns 403 when the bypass names an unprovisioned userapps/backend/src/routes/auth.test.tsAPIAPInode6 ms
PassedPUT /api/v1/auth/push-token registers the token against the authenticated user (never a body userId)apps/backend/src/routes/auth.test.tsAPIAPInode0.02 s
PassedPUT /api/v1/auth/push-token rejects a malformed (non-Expo) token with 400 and no writeapps/backend/src/routes/auth.test.tsAPIAPInode0.02 s
PassedPUT /api/v1/auth/push-token requires authenticationapps/backend/src/routes/auth.test.tsAPIAPInode8 ms
Passedcross-tenant isolation returns 404 and makes no Google call when org B DELETEs org A jobapps/backend/src/routes/calendar.test.tsAPIAPInode0.01 s
Passedcross-tenant isolation returns 404 and makes no Google call when org B PUTs org A job with an inviteapps/backend/src/routes/calendar.test.tsAPIAPInode0.01 s
PassedDELETE /api/v1/jobs/:id cancels the mirrored Google eventapps/backend/src/routes/calendar.test.tsAPIAPInode0.01 s
PassedDELETE /api/v1/jobs/:id still cancels the job when the Google delete failsapps/backend/src/routes/calendar.test.tsAPIAPInode0.01 s
PassedGET /api/v1/calendar/google/callback exchanges the code and persists ENCRYPTED tokensapps/backend/src/routes/calendar.test.tsAPIAPInode0.02 s
PassedGET /api/v1/calendar/google/callback rejects a missing code with 400apps/backend/src/routes/calendar.test.tsAPIAPInode0.01 s
PassedGET /api/v1/calendar/google/callback rejects an unauthenticated request with 401apps/backend/src/routes/calendar.test.tsAPIAPInode5 ms
PassedGET /api/v1/calendar/google/callback returns 400 CALENDAR_AUTH_FAILED when Google rejects the codeapps/backend/src/routes/calendar.test.tsAPIAPInode0.01 s