Skip to content

fix: Add login check on /download-schema route #7681

fix: Add login check on /download-schema route

fix: Add login check on /download-schema route #7681

Triggered via pull request January 28, 2025 17:59
Status Failure
Total duration 23m 2s
Artifacts

pull-request.yml

on: pull_request
Check file changes
3s
Check file changes
Build React App
4m 13s
Build React App
Run Integration tests
5m 19s
Run Integration tests
Run API Tests
3m 10s
Run API Tests
Run React Tests
0s
Run React Tests
Generate Hasura Change Summary
0s
Generate Hasura Change Summary
E2E tests
10m 31s
E2E tests
Upsert Vultr Instance
17m 39s
Upsert Vultr Instance
Run Pulumi Preview
0s
Run Pulumi Preview
Run Healthcheck on Pizza Services
34s
Run Healthcheck on Pizza Services
Fit to window
Zoom out
Zoom in

Annotations

4 errors, 16 warnings, and 1 notice
modules/analytics/metabase/collection/collection.test.ts > createTeamCollection > returns collection correctly no matter collection slug case: api.planx.uk/modules/analytics/metabase/collection/collection.test.ts#L109
AssertionError: expected undefined to be 20 // Object.is equality - Expected: 20 + Received: undefined ❯ modules/analytics/metabase/collection/collection.test.ts:109:35
modules/analytics/metabase/collection/collection.test.ts > getTeamIdAndMetabaseId > successfully gets team and existing metabase id: api.planx.uk/modules/analytics/metabase/collection/getTeamIdAndMetabaseId.ts#L31
TypeError: Cannot read properties of undefined (reading '0') ❯ getTeamIdAndMetabaseId modules/analytics/metabase/collection/getTeamIdAndMetabaseId.ts:31:29 ❯ modules/analytics/metabase/collection/collection.test.ts:154:31
modules/analytics/metabase/collection/collection.test.ts > getTeamIdAndMetabaseId > handles team with null metabase id: api.planx.uk/modules/analytics/metabase/collection/collection.test.ts#L174
AssertionError: expected 20 to be null - Expected: null + Received: 20 ❯ modules/analytics/metabase/collection/collection.test.ts:174:42
Run API Tests
Process completed with exit code 1.
Run API Tests: api.planx.uk/lib/notify/index.ts#L73
Unexpected any. Specify a different type
Run API Tests: api.planx.uk/modules/auth/strategy/google.ts#L20
Unexpected any. Specify a different type
Run API Tests: api.planx.uk/modules/file/routes.ts#L3
'multer' is defined but never used. Allowed unused vars must match /^_/u
Run API Tests: api.planx.uk/modules/flows/validate/service/fileTypes.ts#L70
Unexpected any. Specify a different type
Run API Tests: api.planx.uk/modules/gis/service/classifiedRoads.ts#L129
Unexpected any. Specify a different type
Run API Tests: api.planx.uk/modules/gis/service/classifiedRoads.ts#L151
Unexpected any. Specify a different type
Run API Tests: api.planx.uk/modules/gis/service/digitalLand.ts#L115
Unexpected any. Specify a different type
Run API Tests: api.planx.uk/modules/gis/service/digitalLand.ts#L116
Unexpected any. Specify a different type
Run API Tests: api.planx.uk/modules/gis/service/digitalLand.ts#L150
Unexpected any. Specify a different type
Run API Tests: api.planx.uk/modules/gis/service/digitalLand.ts#L199
Unexpected any. Specify a different type
E2E tests: e2e/tests/ui-driven/src/invite-to-pay/agent.spec.ts#L97
Unexpected use of networkidle
E2E tests: e2e/tests/ui-driven/src/invite-to-pay/nominee.spec.ts#L98
Unexpected use of networkidle
E2E tests: e2e/tests/ui-driven/src/invite-to-pay/nominee.spec.ts#L106
Unexpected use of networkidle
E2E tests: e2e/tests/ui-driven/src/invite-to-pay/nominee.spec.ts#L140
Unexpected use of networkidle
Slow Test: e2e/tests/ui-driven/[chromium] › create-flow.spec.ts#L1
e2e/tests/ui-driven/[chromium] › create-flow.spec.ts took 33.2s
Slow Test: e2e/tests/ui-driven/[chromium] › create-flow-with-geospatial.spec.ts#L1
e2e/tests/ui-driven/[chromium] › create-flow-with-geospatial.spec.ts took 21.6s
🎭 Playwright Run Summary
22 passed (1.5m)