myparcelnl / woocommerce

MyParcel plug-in for WooCommerce
https://developer.myparcel.nl/nl/documentatie/10.woocommerce.html
MIT License
13 stars 22 forks source link

feat: support custom address and tax fields in blocks checkout #1191

Open EdieLemoine opened 3 weeks ago

EdieLemoine commented 3 weeks ago

INT-599

codecov[bot] commented 3 weeks ago

:x: 19 Tests Failed:

Tests completed Failed Passed Skipped
245 19 226 0
View the top 3 failed tests by shortest run time > > ```python > src/components/pdk/components.spec.ts DropOffInput > DropOffInput > emits update:modelValue event > ``` > >
Stack Traces | 0.004s run time > > > > > ```python > > TypeError: Cannot destructure property 'component' of 'props.element' as it is undefined. > > ❯ Module.useDropOffInputContext ../../../node_modules/@.../src/composables/useDropOffInputContext.ts:18:22 > > ❯ setup .../components/pdk/WcDropOffInput.vue:50:82 > > ❯ callWithErrorHandling ../../../node_modules/@.../runtime-core/dist/runtime-core.cjs.js:200:19 > > ❯ setupStatefulComponent ../../../node_modules/@.../runtime-core/dist/runtime-core.cjs.js:7811:25 > > ❯ setupComponent ../../../node_modules/@.../runtime-core/dist/runtime-core.cjs.js:7772:36 > > ❯ mountComponent ../../../node_modules/@.../runtime-core/dist/runtime-core.cjs.js:5122:7 > > ❯ processComponent ../../../node_modules/@.../runtime-core/dist/runtime-core.cjs.js:5088:9 > > ❯ patch ../../../node_modules/@.../runtime-core/dist/runtime-core.cjs.js:4617:11 > > ❯ ReactiveEffect.componentUpdateFn [as fn] ../../../node_modules/@.../runtime-core/dist/runtime-core.cjs.js:5232:11 > > ❯ ReactiveEffect.run ../../../node_modules/@.../reactivity/dist/reactivity.cjs.js:226:19 > > ``` > >
src/components/pdk/components.spec.ts DropOffInput > DropOffInput > has prop element
Stack Traces | 0.005s run time > > ```python > Error: No element found. > ❯ Module.Je ../../../node_modules/@.../vue-form-builder/dist/index.js:106:11 > ❯ Module.generateFieldId ../../../node_modules/@.../utils/forms/generateFieldId.ts:9:89 > ❯ setup .../components/pdk/WcDropOffInput.vue:52:12 > ❯ callWithErrorHandling ../../../node_modules/@.../runtime-core/dist/runtime-core.cjs.js:200:19 > ❯ setupStatefulComponent ../../../node_modules/@.../runtime-core/dist/runtime-core.cjs.js:7811:25 > ❯ setupComponent ../../../node_modules/@.../runtime-core/dist/runtime-core.cjs.js:7772:36 > ❯ mountComponent ../../../node_modules/@.../runtime-core/dist/runtime-core.cjs.js:5122:7 > ❯ processComponent ../../../node_modules/@.../runtime-core/dist/runtime-core.cjs.js:5088:9 > ❯ patch ../../../node_modules/@.../runtime-core/dist/runtime-core.cjs.js:4617:11 > ❯ ReactiveEffect.componentUpdateFn [as fn] ../../../node_modules/@.../runtime-core/dist/runtime-core.cjs.js:5232:11 > ```
src/components/pdk/components.spec.ts Image > Image > has prop height
Stack Traces | 0.005s run time > > ```python > AssertionError: expected { …(2) } to have property "height" > ❯ ../../../node_modules/@.../src/common/runHasPropTest.ts:14:51 > ```

To view more test analytics, go to the Test Analytics Dashboard Got feedback? Let us know on Github

EdieLemoine commented 2 weeks ago

@joerivanveen het werkt nu wss een stuk beter, heb alleen nog niet alles kunnen nalopen, maar classic checkout zou het nu wel moeten doen en ook het adres synchroniseren met het adresregel 1 veld.

Dat met codecov moet ik nog ff uitzoeken, het is iets met het uploaden van de reports in de pipelines, gebeurt bij presta ook

myparcel-bot[bot] commented 1 week ago

PDK upgrade summary

♻️ The following packages were upgraded (from cache):

Package Old version New version
@myparcel-pdk/admin 1.5.3 1.5.4
@myparcel-pdk/admin-component-tests 1.5.3 1.5.4
@myparcel-pdk/admin-preset-dashicons 1.5.3 1.5.4
@myparcel-pdk/admin-preset-default 1.5.3 1.5.4
@myparcel-pdk/app-builder 1.6.0 1.6.1
@myparcel-pdk/checkout 1.1.5 1.2.0
myparcelnl/pdk 2.45.0 2.47.2
myparcel-bot[bot] commented 1 week ago

✅ Build successful!

You can find a link to the downloadable artifact below.

Name Link
Commit 24dfdac3a780e49fde60bc14f846c30afe5ae21f
Logs https://github.com/myparcelnl/woocommerce/actions/runs/12013430332
Download https://github.com/myparcelnl/woocommerce/suites/31304826598/artifacts/2233803965