Skip to content

added dynamic links to buttons #4858

added dynamic links to buttons

added dynamic links to buttons #4858

Re-run triggered January 11, 2025 15:41
Status Failure
Total duration 3m 55s
Artifacts

unit-testing.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 1 warning
src/containers/TemplateOptions/TemplateOptions.test.tsx > it renders component and selects call to action type: src/containers/TemplateOptions/TemplateOptions.tsx#L71
TypeError: Cannot destructure property 'urlType' of '((cov_6azyxwbl6(...).s[5]++) , dynamicUrlParams)' as it is undefined. ❯ TemplateOptions src/containers/TemplateOptions/TemplateOptions.tsx:71:8 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21626:16 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27465:14 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26599:12 ❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26505:5 ❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26473:7 ❯ recoverFromConcurrentError node_modules/react-dom/cjs/react-dom.development.js:25889:20 ❯ performConcurrentWorkOnRoot node_modules/react-dom/cjs/react-dom.development.js:25789:22
src/containers/TemplateOptions/TemplateOptions.test.tsx > it renders call to action button template successfully: src/containers/TemplateOptions/TemplateOptions.tsx#L71
TypeError: Cannot destructure property 'urlType' of '((cov_6azyxwbl6(...).s[5]++) , dynamicUrlParams)' as it is undefined. ❯ TemplateOptions src/containers/TemplateOptions/TemplateOptions.tsx:71:8 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21626:16 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27465:14 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26599:12 ❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26505:5 ❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26473:7 ❯ recoverFromConcurrentError node_modules/react-dom/cjs/react-dom.development.js:25889:20 ❯ performConcurrentWorkOnRoot node_modules/react-dom/cjs/react-dom.development.js:25789:22
src/containers/TemplateOptions/TemplateOptions.test.tsx > it renders quick reply button template successfully: src/containers/TemplateOptions/TemplateOptions.tsx#L71
TypeError: Cannot destructure property 'urlType' of '((cov_6azyxwbl6(...).s[5]++) , dynamicUrlParams)' as it is undefined. ❯ TemplateOptions src/containers/TemplateOptions/TemplateOptions.tsx:71:8 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21626:16 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27465:14 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26599:12 ❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26505:5 ❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26473:7 ❯ recoverFromConcurrentError node_modules/react-dom/cjs/react-dom.development.js:25889:20 ❯ performConcurrentWorkOnRoot node_modules/react-dom/cjs/react-dom.development.js:25789:22
CI
Process completed with exit code 1.
CI
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636