Skip to content

Place order

Place order #237

Triggered via push November 27, 2024 06:14
Status Failure
Total duration 41s
Artifacts

codecov.yml

on: push
Run backend tests and collect coverage
33s
Run backend tests and collect coverage
Run frontend customer tests and collect coverage
19s
Run frontend customer tests and collect coverage
Fit to window
Zoom out
Zoom in

Annotations

11 errors
src/components/__tests__/BookingForm.spec.ts > BookingForm > allows selecting time slots: frontend/customer/node_modules/.pnpm/@[email protected]/node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js#L1574
Error: Cannot call trigger on an empty DOMWrapper. ❯ Object.get node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:1574:27 ❯ src/components/__tests__/BookingForm.spec.ts:82:26
src/components/__tests__/BookingForm.spec.ts > BookingForm > handles form submission correctly: frontend/customer/node_modules/.pnpm/@[email protected]/node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js#L1574
Error: Cannot call trigger on an empty DOMWrapper. ❯ Object.get node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:1574:27 ❯ src/components/__tests__/BookingForm.spec.ts:99:47
src/components/__tests__/BookingForm.spec.ts > BookingForm > displays error message when submission fails: frontend/customer/node_modules/.pnpm/@[email protected]/node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js#L1574
Error: Cannot call trigger on an empty DOMWrapper. ❯ Object.get node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:1574:27 ❯ src/components/__tests__/BookingForm.spec.ts:136:47
src/components/__tests__/BookingForm.spec.ts > BookingForm > validates phone number format: frontend/customer/node_modules/.pnpm/@[email protected]/node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js#L1574
Error: Cannot call trigger on an empty DOMWrapper. ❯ Object.get node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:1574:27 ❯ src/components/__tests__/BookingForm.spec.ts:166:47
src/components/__tests__/PaymentForm.spec.ts > PaymentForm > displays payment amount correctly: frontend/customer/src/components/__tests__/PaymentForm.spec.ts#L95
AssertionError: expected 'BetalingIngen aktiv bestilling funnet…' to contain '350,00 kr' Expected: "350,00 kr" Received: "BetalingIngen aktiv bestilling funnetTilbake til tjenester" ❯ src/components/__tests__/PaymentForm.spec.ts:95:28
src/components/__tests__/PaymentForm.spec.ts > PaymentForm > shows loading state during payment processing: frontend/customer/node_modules/.pnpm/@[email protected]/node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js#L1574
Error: Cannot call attributes on an empty DOMWrapper. ❯ Object.get node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:1574:27 ❯ src/components/__tests__/PaymentForm.spec.ts:107:22
src/components/__tests__/PaymentForm.spec.ts > PaymentForm > shows success message after payment: frontend/customer/node_modules/.pnpm/@[email protected]/node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js#L1574
Error: Cannot call trigger on an empty DOMWrapper. ❯ Object.get node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:1574:27 ❯ src/components/__tests__/PaymentForm.spec.ts:116:44
src/components/__tests__/PaymentForm.spec.ts > PaymentForm > displays error message when payment fails: frontend/customer/node_modules/.pnpm/@[email protected]/node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js#L1574
Error: Cannot call text on an empty DOMWrapper. ❯ Object.get node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:1574:27 ❯ src/components/__tests__/PaymentForm.spec.ts:134:40
src/components/__tests__/PaymentForm.spec.ts > PaymentForm > navigates back to home after successful payment: frontend/customer/node_modules/.pnpm/@[email protected]/node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js#L1574
Error: Cannot call trigger on an empty DOMWrapper. ❯ Object.get node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:1574:27 ❯ src/components/__tests__/PaymentForm.spec.ts:141:44
src/components/__tests__/PaymentForm.spec.ts > PaymentForm > handles missing service price gracefully: frontend/customer/src/components/__tests__/PaymentForm.spec.ts#L161
AssertionError: expected 'BetalingIngen aktiv bestilling funnet…' to contain '0,00 kr' Expected: "0,00 kr" Received: "BetalingIngen aktiv bestilling funnetTilbake til tjenester" ❯ src/components/__tests__/PaymentForm.spec.ts:161:28
Run backend tests and collect coverage
Process completed with exit code 1.