Skip to content

[next] fix(NcActions): Use full window height #1978

[next] fix(NcActions): Use full window height

[next] fix(NcActions): Use full window height #1978

Triggered via pull request August 29, 2024 14:41
Status Failure
Total duration 1m 29s
Artifacts

node-test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 errors
tests/unit/components/NcActions/NcActions.spec.ts > NcActions.vue > when using the component with > no actions elements: src/components/NcActions/NcActions.vue#L1120
ReferenceError: useWindowSize is not defined ❯ setup src/components/NcActions/NcActions.vue:1120:36 ❯ callWithErrorHandling node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:203:19 ❯ setupStatefulComponent node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7668:25 ❯ setupComponent node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7629:36 ❯ mountComponent node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4839:7 ❯ processComponent node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4805:9 ❯ patch node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4334:11 ❯ ReactiveEffect.componentUpdateFn [as fn] node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4949:11 ❯ ReactiveEffect.run node_modules/@vue/reactivity/dist/reactivity.cjs.js:181:19 ❯ instance.update node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5073:16
tests/unit/components/NcActions/NcActions.spec.ts > NcActions.vue > when using the component with > composition API: src/components/NcActions/NcActions.vue#L1120
ReferenceError: useWindowSize is not defined ❯ setup src/components/NcActions/NcActions.vue:1120:36 ❯ callWithErrorHandling node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:203:19 ❯ setupStatefulComponent node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7668:25 ❯ setupComponent node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7629:36 ❯ mountComponent node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4839:7 ❯ processComponent node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4805:9 ❯ patch node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4334:11 ❯ ReactiveEffect.componentUpdateFn [as fn] node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4949:11 ❯ ReactiveEffect.run node_modules/@vue/reactivity/dist/reactivity.cjs.js:181:19 ❯ instance.update node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5073:16
tests/unit/components/NcActions/NcActions.spec.ts > NcActions.vue > when using the component with > keeps attributes on the children: src/components/NcActions/NcActions.vue#L1120
ReferenceError: useWindowSize is not defined ❯ setup src/components/NcActions/NcActions.vue:1120:36 ❯ callWithErrorHandling node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:203:19 ❯ setupStatefulComponent node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7668:25 ❯ setupComponent node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7629:36 ❯ mountComponent node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4839:7 ❯ processComponent node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4805:9 ❯ patch node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4334:11 ❯ ReactiveEffect.componentUpdateFn [as fn] node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4949:11 ❯ ReactiveEffect.run node_modules/@vue/reactivity/dist/reactivity.cjs.js:181:19 ❯ instance.update node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5073:16
tests/unit/components/NcActions/NcActions.spec.ts > NcActions.vue > when using the component with > one NcActionButton > shows no menu toggle.: src/components/NcActions/NcActions.vue#L1120
ReferenceError: useWindowSize is not defined ❯ setup src/components/NcActions/NcActions.vue:1120:36 ❯ callWithErrorHandling node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:203:19 ❯ setupStatefulComponent node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7668:25 ❯ setupComponent node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7629:36 ❯ mountComponent node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4839:7 ❯ processComponent node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4805:9 ❯ patch node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4334:11 ❯ ReactiveEffect.componentUpdateFn [as fn] node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4949:11 ❯ ReactiveEffect.run node_modules/@vue/reactivity/dist/reactivity.cjs.js:181:19 ❯ instance.update node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5073:16
tests/unit/components/NcActions/NcActions.spec.ts > NcActions.vue > when using the component with > one NcActionButton > shows the menu toggle when forced.: src/components/NcActions/NcActions.vue#L1120
ReferenceError: useWindowSize is not defined ❯ setup src/components/NcActions/NcActions.vue:1120:36 ❯ callWithErrorHandling node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:203:19 ❯ setupStatefulComponent node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7668:25 ❯ setupComponent node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7629:36 ❯ mountComponent node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4839:7 ❯ processComponent node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4805:9 ❯ patch node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4334:11 ❯ ReactiveEffect.componentUpdateFn [as fn] node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4949:11 ❯ ReactiveEffect.run node_modules/@vue/reactivity/dist/reactivity.cjs.js:181:19 ❯ instance.update node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5073:16
tests/unit/components/NcActions/NcActions.spec.ts > NcActions.vue > when using the component with > two NcActionButtons > shows the menu toggle.: src/components/NcActions/NcActions.vue#L1120
ReferenceError: useWindowSize is not defined ❯ setup src/components/NcActions/NcActions.vue:1120:36 ❯ callWithErrorHandling node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:203:19 ❯ setupStatefulComponent node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7668:25 ❯ setupComponent node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7629:36 ❯ mountComponent node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4839:7 ❯ processComponent node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4805:9 ❯ patch node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4334:11 ❯ ReactiveEffect.componentUpdateFn [as fn] node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4949:11 ❯ ReactiveEffect.run node_modules/@vue/reactivity/dist/reactivity.cjs.js:181:19 ❯ instance.update node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5073:16
tests/unit/components/NcActions/NcActions.spec.ts > NcActions.vue > when using the component with > 3 ActionButton with one inline > shows the first action outside.: src/components/NcActions/NcActions.vue#L1120
ReferenceError: useWindowSize is not defined ❯ setup src/components/NcActions/NcActions.vue:1120:36 ❯ callWithErrorHandling node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:203:19 ❯ setupStatefulComponent node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7668:25 ❯ setupComponent node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7629:36 ❯ mountComponent node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4839:7 ❯ processComponent node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4805:9 ❯ patch node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4334:11 ❯ ReactiveEffect.componentUpdateFn [as fn] node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4949:11 ❯ ReactiveEffect.run node_modules/@vue/reactivity/dist/reactivity.cjs.js:181:19 ❯ instance.update node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5073:16
tests/unit/components/NcActions/NcActions.spec.ts > NcActions.vue > when using the component with > 3 ActionButton with one inline > shows the menu toggle.: src/components/NcActions/NcActions.vue#L1120
ReferenceError: useWindowSize is not defined ❯ setup src/components/NcActions/NcActions.vue:1120:36 ❯ callWithErrorHandling node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:203:19 ❯ setupStatefulComponent node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7668:25 ❯ setupComponent node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7629:36 ❯ mountComponent node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4839:7 ❯ processComponent node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4805:9 ❯ patch node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4334:11 ❯ ReactiveEffect.componentUpdateFn [as fn] node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4949:11 ❯ ReactiveEffect.run node_modules/@vue/reactivity/dist/reactivity.cjs.js:181:19 ❯ instance.update node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5073:16
tests/unit/components/NcActions/NcActions.spec.ts > NcActions.vue > when using the component with > 3 ActionButton with one inline > shows the first two action outside on prop change.: src/components/NcActions/NcActions.vue#L1120
ReferenceError: useWindowSize is not defined ❯ setup src/components/NcActions/NcActions.vue:1120:36 ❯ callWithErrorHandling node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:203:19 ❯ setupStatefulComponent node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7668:25 ❯ setupComponent node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7629:36 ❯ mountComponent node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4839:7 ❯ processComponent node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4805:9 ❯ patch node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4334:11 ❯ ReactiveEffect.componentUpdateFn [as fn] node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4949:11 ❯ ReactiveEffect.run node_modules/@vue/reactivity/dist/reactivity.cjs.js:181:19 ❯ instance.update node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5073:16
tests/unit/components/NcActions/NcActions.spec.ts > NcActions.vue > when using the component with > 3 ActionButton with one inline > shows all actions outside on prop change.: src/components/NcActions/NcActions.vue#L1120
ReferenceError: useWindowSize is not defined ❯ setup src/components/NcActions/NcActions.vue:1120:36 ❯ callWithErrorHandling node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:203:19 ❯ setupStatefulComponent node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7668:25 ❯ setupComponent node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7629:36 ❯ mountComponent node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4839:7 ❯ processComponent node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4805:9 ❯ patch node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4334:11 ❯ ReactiveEffect.componentUpdateFn [as fn] node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4949:11 ❯ ReactiveEffect.run node_modules/@vue/reactivity/dist/reactivity.cjs.js:181:19 ❯ instance.update node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5073:16
test-summary
Process completed with exit code 1.