Skip to content

feat: Display Pay component when fee is zero #7833

feat: Display Pay component when fee is zero

feat: Display Pay component when fee is zero #7833

Triggered via pull request February 5, 2025 09:56
Status Failure
Total duration 9m 12s
Artifacts

pull-request.yml

on: pull_request
Check file changes
7s
Check file changes
Build React App
6s
Build React App
Run Integration tests
4m 10s
Run Integration tests
Run API Tests
2m 53s
Run API Tests
Run React Tests
3m 15s
Run React Tests
Generate Hasura Change Summary
0s
Generate Hasura Change Summary
E2E tests
3m 47s
E2E tests
Upsert Vultr Instance
8m 1s
Upsert Vultr Instance
Run Pulumi Preview
0s
Run Pulumi Preview
Run Healthcheck on Pizza Services
33s
Run Healthcheck on Pizza Services
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 11 warnings
modules/pay/service/inviteToPay/index.test.ts > Invite to pay API route > valid request scenarios > a valid sessionId: api.planx.uk/modules/pay/service/inviteToPay/index.test.ts#L53
Error: expected 200 "OK", got 500 "Internal Server Error" ❯ modules/pay/service/inviteToPay/index.test.ts:53:10 ❯ Test._assertStatus node_modules/.pnpm/[email protected]/node_modules/supertest/lib/test.js:252:14 ❯ node_modules/.pnpm/[email protected]/node_modules/supertest/lib/test.js:308:13 ❯ Test._assertFunction node_modules/.pnpm/[email protected]/node_modules/supertest/lib/test.js:285:13 ❯ Test.assert node_modules/.pnpm/[email protected]/node_modules/supertest/lib/test.js:164:23 ❯ Server.localAssert node_modules/.pnpm/[email protected]/node_modules/supertest/lib/test.js:120:14
Run API Tests
Process completed with exit code 1.
src/routes/utils.test.tsx: editor.planx.uk/src/pages/FlowEditor/lib/store/editor.ts#L2
SyntaxError: Named export 'parseDocument' not found. The requested module 'htmlparser2' is a CommonJS module, which may not support all module.exports as named exports. CommonJS modules can always be imported via the default export, for example using: import pkg from 'htmlparser2'; const { parseDocument: parseWithHtmlparser2 } = pkg; ❯ src/pages/FlowEditor/lib/store/editor.ts:2:31
src/components/Error/GraphError.test.tsx: editor.planx.uk/src/pages/FlowEditor/lib/store/editor.ts#L2
SyntaxError: Named export 'parseDocument' not found. The requested module 'htmlparser2' is a CommonJS module, which may not support all module.exports as named exports. CommonJS modules can always be imported via the default export, for example using: import pkg from 'htmlparser2'; const { parseDocument: parseWithHtmlparser2 } = pkg; ❯ src/pages/FlowEditor/lib/store/editor.ts:2:31
src/components/Feedback/index.test.tsx: editor.planx.uk/src/pages/FlowEditor/lib/store/editor.ts#L2
SyntaxError: Named export 'parseDocument' not found. The requested module 'htmlparser2' is a CommonJS module, which may not support all module.exports as named exports. CommonJS modules can always be imported via the default export, for example using: import pkg from 'htmlparser2'; const { parseDocument: parseWithHtmlparser2 } = pkg; ❯ src/pages/FlowEditor/lib/store/editor.ts:2:31
src/components/Footer/Footer.test.tsx: editor.planx.uk/src/pages/FlowEditor/lib/store/editor.ts#L2
SyntaxError: Named export 'parseDocument' not found. The requested module 'htmlparser2' is a CommonJS module, which may not support all module.exports as named exports. CommonJS modules can always be imported via the default export, for example using: import pkg from 'htmlparser2'; const { parseDocument: parseWithHtmlparser2 } = pkg; ❯ src/pages/FlowEditor/lib/store/editor.ts:2:31
src/components/Header/Header.test.tsx: editor.planx.uk/src/pages/FlowEditor/lib/store/editor.ts#L2
SyntaxError: Named export 'parseDocument' not found. The requested module 'htmlparser2' is a CommonJS module, which may not support all module.exports as named exports. CommonJS modules can always be imported via the default export, for example using: import pkg from 'htmlparser2'; const { parseDocument: parseWithHtmlparser2 } = pkg; ❯ src/pages/FlowEditor/lib/store/editor.ts:2:31
src/pages/Preview/SaveAndReturn.test.tsx: editor.planx.uk/src/pages/FlowEditor/lib/store/editor.ts#L2
SyntaxError: Named export 'parseDocument' not found. The requested module 'htmlparser2' is a CommonJS module, which may not support all module.exports as named exports. CommonJS modules can always be imported via the default export, for example using: import pkg from 'htmlparser2'; const { parseDocument: parseWithHtmlparser2 } = pkg; ❯ src/pages/FlowEditor/lib/store/editor.ts:2:31
src/ui/editor/ComponentTagSelect.test.tsx: editor.planx.uk/src/pages/FlowEditor/lib/store/editor.ts#L2
SyntaxError: Named export 'parseDocument' not found. The requested module 'htmlparser2' is a CommonJS module, which may not support all module.exports as named exports. CommonJS modules can always be imported via the default export, for example using: import pkg from 'htmlparser2'; const { parseDocument: parseWithHtmlparser2 } = pkg; ❯ src/pages/FlowEditor/lib/store/editor.ts:2:31
src/@planx/components/AddressInput/Public.test.tsx: editor.planx.uk/src/pages/FlowEditor/lib/store/editor.ts#L2
SyntaxError: Named export 'parseDocument' not found. The requested module 'htmlparser2' is a CommonJS module, which may not support all module.exports as named exports. CommonJS modules can always be imported via the default export, for example using: import pkg from 'htmlparser2'; const { parseDocument: parseWithHtmlparser2 } = pkg; ❯ src/pages/FlowEditor/lib/store/editor.ts:2:31
src/@planx/components/Calculate/Public.test.tsx: editor.planx.uk/src/@planx/components/shared/utils.ts#L1
SyntaxError: Named export 'parseDocument' not found. The requested module 'htmlparser2' is a CommonJS module, which may not support all module.exports as named exports. CommonJS modules can always be imported via the default export, for example using: import pkg from 'htmlparser2'; const { parseDocument: parseWithHtmlparser2 } = pkg; ❯ src/@planx/components/shared/utils.ts:1:1
src/@planx/components/Calculate/logic.test.ts: editor.planx.uk/src/pages/FlowEditor/lib/store/editor.ts#L2
SyntaxError: Named export 'parseDocument' not found. The requested module 'htmlparser2' is a CommonJS module, which may not support all module.exports as named exports. CommonJS modules can always be imported via the default export, for example using: import pkg from 'htmlparser2'; const { parseDocument: parseWithHtmlparser2 } = pkg; ❯ src/pages/FlowEditor/lib/store/editor.ts:2:31
E2E tests
Type '{ calculated: number; payable: number; vat: number; reduction: 0; }' is not assignable to type '{ calculated: number; payable: number; vat: number; } & ReductionOrExemption'.
E2E 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
No files were found with the provided path: e2e/tests/ui-driven/test-results/. No artifacts will be uploaded.