myparcelnl / woocommerce

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

fix(cronservice): reduce scheduled event fail rate #1183

Closed joerivanveen closed 1 month ago

joerivanveen commented 1 month ago

INT-572

codecov[bot] commented 1 month ago

:x: 19 Tests Failed:

Tests completed Failed Passed Skipped
238 19 219 0
View the top 3 failed tests by shortest run time > > ``` > src/components/pdk/components.spec.ts DropOffInput > DropOffInput > can be disabled > ``` > >
Stack Traces | 0.005s run time > > > > > ``` > > 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 DropOffInput > DropOffInput > emits update:modelValue event
Stack Traces | 0.005s run time > > ``` > 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 > > ``` > 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 > ```

To view individual test run time comparison to the main branch, go to the Test Analytics Dashboard