Added warning for automatic translations #4298
Annotations
7 errors and 2 warnings
src/containers/InteractiveMessage/TranslateButton/TranslateButton.test.tsx > it exports the translation with translations:
src/containers/InteractiveMessage/TranslateButton/TranslateButton.test.tsx#L62
TestingLibraryElementError: Unable to find an element with the text: Export Interactive Template With Translations. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
Ignored nodes: comments, script, style
<body
style="padding-right: 1024px; overflow: hidden;"
>
<div
aria-hidden="true"
>
<div
class="_Wrapper_d262a6"
>
<button
class="MuiButtonBase-root MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeMedium MuiButton-outlinedSizeMedium MuiButton-colorPrimary MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeMedium MuiButton-outlinedSizeMedium MuiButton-colorPrimary _Button_795060 undefined css-1rwt2y5-MuiButtonBase-root-MuiButton-root"
data-testid="translateBtn"
tabindex="0"
type="button"
>
<svg
fill="none"
height="18"
viewBox="0 0 18 18"
width="16"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M15.7917 9H14.2917C14.0928 9 13.902 9.07902 13.7614 9.21968C13.6207 9.36033 13.5417 9.55109 13.5417 9.75C13.5417 9.94892 13.6207 10.1397 13.7614 10.2803C13.902 10.421 14.0928 10.5 14.2917 10.5V12H13.4035C13.4924 11.7598 13.5392 11.5061 13.5417 11.25C13.5418 10.7547 13.3784 10.2732 13.0769 9.88023C12.7754 9.48726 12.3526 9.20478 11.8742 9.07661C11.3957 8.94844 10.8884 8.98176 10.4308 9.17139C9.97321 9.36101 9.591 9.69635 9.34347 10.1254C9.29375 10.2107 9.26137 10.305 9.24821 10.4029C9.23504 10.5008 9.24133 10.6003 9.26673 10.6958C9.29213 10.7912 9.33613 10.8807 9.39621 10.9591C9.45629 11.0375 9.53126 11.1032 9.61682 11.1526C9.70238 11.2019 9.79684 11.2339 9.89478 11.2466C9.99273 11.2593 10.0922 11.2526 10.1875 11.2268C10.2829 11.2009 10.3722 11.1565 10.4503 11.0961C10.5284 11.0357 10.5938 10.9604 10.6428 10.8746C10.7087 10.7608 10.8033 10.6663 10.9172 10.6006C11.0311 10.5348 11.1602 10.5001 11.2917 10.5C11.4906 10.5 11.6814 10.579 11.822 10.7197C11.9627 10.8603 12.0417 11.0511 12.0417 11.25C12.0417 11.4489 11.9627 11.6397 11.822 11.7803C11.6814 11.921 11.4906 12 11.2917 12C11.0928 12 10.902 12.079 10.7614 12.2197C10.6207 12.3603 10.5417 12.5511 10.5417 12.75C10.5417 12.9489 10.6207 13.1397 10.7614 13.2803C10.902 13.421 11.0928 13.5 11.2917 13.5C11.4906 13.5 11.6814 13.579 11.822 13.7197C11.9627 13.8603 12.0417 14.0511 12.0417 14.25C12.0417 14.4489 11.9627 14.6397 11.822 14.7803C11.6814 14.921 11.4906 15 11.2917 15C11.1602 14.9999 11.0311 14.9652 10.9172 14.8994C10.8033 14.8337 10.7087 14.7392 10.6428 14.6254C10.5938 14.5396 10.5284 14.4643 10.4503 14.4039C10.3722 14.3435 10.2829 14.2991 10.1876 14.2732C10.0922 14.2474 9.99273 14.2407 9.89479 14.2534C9.79685 14.2661 9.70239 14.2981 9.61683 14.3474C9.53127 14.3968 9.4563 14.4625 9.39622 14.5409C9.33614 14.6193 9.29214 14.7088 9.26674 14.8042C9.24134 14.8997 9.23504 14.9992 9.24821 15.0971C9.26138 15.195 9.29375 15.2893 9.34347 15.3746C9.59101 15.8036 9.97321 16.139 10.4308 16.3286C10.8884 16.5182 11.3957 16.5515 11.8742 16.4234C12.3526 16.2952 12.7754 16.0127 13.0769 15.6198C13.3784 15.2268 13.5418 14.7453 13.5417 14.25C13.5392 13.9939 13.4924 13.7402 13.4035 13.5H14.2917V15.75C14.2917 15.9489 14.3707 16.1397 14.5114 16.2803C14.652 16.421 14.8428 16.5 15.0417 16.5C15.2406 16.5 15.4314 16.421 15.572 16.2803C15.7127 16.1397 15.7917 15.9489 15.7917 15.75V10.5C15.9906 10.5 16.1814 10.421 16.322 10.2803C16.4627 10.1397 16.5417 9.94892 16.5417 9.75C16.5417 9.55109 16.4627 9.36033 16.322 9.21968C16.1814 9.07902 15.9906 9 15.7917 9ZM6.81442 8.43201C6.8627 8.6249 6.98562 8.79072 7.15614 8.89298C7.24058 8.94361 7.33416 8.97712 7.43155 8.99159C7.52893 9.00606 7.62822 9.0012 7.72373 8.9773C7.81924 8.9534 7.9091 8.91092 7.98819 8.85228C8.06729 8.79365 8.13406 8.72002 8.18469 8.63558C8.23533 8.55114 8.26883 8.45756 8.2833 8.36017C8.29777 8.26279 8.29291 8.1635 8.26901 8.068L6.95138 2.79566C6.8589 2.42559 6.64535 2.09705 6.3447 1.86228C6.04404 1.62752 5.67354 1.5 5.29208 1.5C4.91063 1.
|
src/containers/InteractiveMessage/TranslateButton/TranslateButton.test.tsx > it exports the translation without translations:
src/containers/InteractiveMessage/TranslateButton/TranslateButton.test.tsx#L81
TestingLibraryElementError: Unable to find an element with the text: Export Interactive Template Without Translations. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
Ignored nodes: comments, script, style
<body
style="padding-right: 1024px; overflow: hidden;"
>
<div
aria-hidden="true"
>
<div
class="_Wrapper_d262a6"
>
<button
class="MuiButtonBase-root MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeMedium MuiButton-outlinedSizeMedium MuiButton-colorPrimary MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeMedium MuiButton-outlinedSizeMedium MuiButton-colorPrimary _Button_795060 undefined css-1rwt2y5-MuiButtonBase-root-MuiButton-root"
data-testid="translateBtn"
tabindex="0"
type="button"
>
<svg
fill="none"
height="18"
viewBox="0 0 18 18"
width="16"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M15.7917 9H14.2917C14.0928 9 13.902 9.07902 13.7614 9.21968C13.6207 9.36033 13.5417 9.55109 13.5417 9.75C13.5417 9.94892 13.6207 10.1397 13.7614 10.2803C13.902 10.421 14.0928 10.5 14.2917 10.5V12H13.4035C13.4924 11.7598 13.5392 11.5061 13.5417 11.25C13.5418 10.7547 13.3784 10.2732 13.0769 9.88023C12.7754 9.48726 12.3526 9.20478 11.8742 9.07661C11.3957 8.94844 10.8884 8.98176 10.4308 9.17139C9.97321 9.36101 9.591 9.69635 9.34347 10.1254C9.29375 10.2107 9.26137 10.305 9.24821 10.4029C9.23504 10.5008 9.24133 10.6003 9.26673 10.6958C9.29213 10.7912 9.33613 10.8807 9.39621 10.9591C9.45629 11.0375 9.53126 11.1032 9.61682 11.1526C9.70238 11.2019 9.79684 11.2339 9.89478 11.2466C9.99273 11.2593 10.0922 11.2526 10.1875 11.2268C10.2829 11.2009 10.3722 11.1565 10.4503 11.0961C10.5284 11.0357 10.5938 10.9604 10.6428 10.8746C10.7087 10.7608 10.8033 10.6663 10.9172 10.6006C11.0311 10.5348 11.1602 10.5001 11.2917 10.5C11.4906 10.5 11.6814 10.579 11.822 10.7197C11.9627 10.8603 12.0417 11.0511 12.0417 11.25C12.0417 11.4489 11.9627 11.6397 11.822 11.7803C11.6814 11.921 11.4906 12 11.2917 12C11.0928 12 10.902 12.079 10.7614 12.2197C10.6207 12.3603 10.5417 12.5511 10.5417 12.75C10.5417 12.9489 10.6207 13.1397 10.7614 13.2803C10.902 13.421 11.0928 13.5 11.2917 13.5C11.4906 13.5 11.6814 13.579 11.822 13.7197C11.9627 13.8603 12.0417 14.0511 12.0417 14.25C12.0417 14.4489 11.9627 14.6397 11.822 14.7803C11.6814 14.921 11.4906 15 11.2917 15C11.1602 14.9999 11.0311 14.9652 10.9172 14.8994C10.8033 14.8337 10.7087 14.7392 10.6428 14.6254C10.5938 14.5396 10.5284 14.4643 10.4503 14.4039C10.3722 14.3435 10.2829 14.2991 10.1876 14.2732C10.0922 14.2474 9.99273 14.2407 9.89479 14.2534C9.79685 14.2661 9.70239 14.2981 9.61683 14.3474C9.53127 14.3968 9.4563 14.4625 9.39622 14.5409C9.33614 14.6193 9.29214 14.7088 9.26674 14.8042C9.24134 14.8997 9.23504 14.9992 9.24821 15.0971C9.26138 15.195 9.29375 15.2893 9.34347 15.3746C9.59101 15.8036 9.97321 16.139 10.4308 16.3286C10.8884 16.5182 11.3957 16.5515 11.8742 16.4234C12.3526 16.2952 12.7754 16.0127 13.0769 15.6198C13.3784 15.2268 13.5418 14.7453 13.5417 14.25C13.5392 13.9939 13.4924 13.7402 13.4035 13.5H14.2917V15.75C14.2917 15.9489 14.3707 16.1397 14.5114 16.2803C14.652 16.421 14.8428 16.5 15.0417 16.5C15.2406 16.5 15.4314 16.421 15.572 16.2803C15.7127 16.1397 15.7917 15.9489 15.7917 15.75V10.5C15.9906 10.5 16.1814 10.421 16.322 10.2803C16.4627 10.1397 16.5417 9.94892 16.5417 9.75C16.5417 9.55109 16.4627 9.36033 16.322 9.21968C16.1814 9.07902 15.9906 9 15.7917 9ZM6.81442 8.43201C6.8627 8.6249 6.98562 8.79072 7.15614 8.89298C7.24058 8.94361 7.33416 8.97712 7.43155 8.99159C7.52893 9.00606 7.62822 9.0012 7.72373 8.9773C7.81924 8.9534 7.9091 8.91092 7.98819 8.85228C8.06729 8.79365 8.13406 8.72002 8.18469 8.63558C8.23533 8.55114 8.26883 8.45756 8.2833 8.36017C8.29777 8.26279 8.29291 8.1635 8.26901 8.068L6.95138 2.79566C6.8589 2.42559 6.64535 2.09705 6.3447 1.86228C6.04404 1.62752 5.67354 1.5 5.29208 1.5C4.91063
|
src/containers/InteractiveMessage/TranslateButton/TranslateButton.test.tsx > it imports the template:
src/containers/InteractiveMessage/TranslateButton/TranslateButton.test.tsx#L99
TestingLibraryElementError: Unable to find an element with the text: Import Interactive Template. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
Ignored nodes: comments, script, style
<body
style="padding-right: 1024px; overflow: hidden;"
>
<div
aria-hidden="true"
>
<div
class="_Wrapper_d262a6"
>
<button
class="MuiButtonBase-root MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeMedium MuiButton-outlinedSizeMedium MuiButton-colorPrimary MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeMedium MuiButton-outlinedSizeMedium MuiButton-colorPrimary _Button_795060 undefined css-1rwt2y5-MuiButtonBase-root-MuiButton-root"
data-testid="translateBtn"
tabindex="0"
type="button"
>
<svg
fill="none"
height="18"
viewBox="0 0 18 18"
width="16"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M15.7917 9H14.2917C14.0928 9 13.902 9.07902 13.7614 9.21968C13.6207 9.36033 13.5417 9.55109 13.5417 9.75C13.5417 9.94892 13.6207 10.1397 13.7614 10.2803C13.902 10.421 14.0928 10.5 14.2917 10.5V12H13.4035C13.4924 11.7598 13.5392 11.5061 13.5417 11.25C13.5418 10.7547 13.3784 10.2732 13.0769 9.88023C12.7754 9.48726 12.3526 9.20478 11.8742 9.07661C11.3957 8.94844 10.8884 8.98176 10.4308 9.17139C9.97321 9.36101 9.591 9.69635 9.34347 10.1254C9.29375 10.2107 9.26137 10.305 9.24821 10.4029C9.23504 10.5008 9.24133 10.6003 9.26673 10.6958C9.29213 10.7912 9.33613 10.8807 9.39621 10.9591C9.45629 11.0375 9.53126 11.1032 9.61682 11.1526C9.70238 11.2019 9.79684 11.2339 9.89478 11.2466C9.99273 11.2593 10.0922 11.2526 10.1875 11.2268C10.2829 11.2009 10.3722 11.1565 10.4503 11.0961C10.5284 11.0357 10.5938 10.9604 10.6428 10.8746C10.7087 10.7608 10.8033 10.6663 10.9172 10.6006C11.0311 10.5348 11.1602 10.5001 11.2917 10.5C11.4906 10.5 11.6814 10.579 11.822 10.7197C11.9627 10.8603 12.0417 11.0511 12.0417 11.25C12.0417 11.4489 11.9627 11.6397 11.822 11.7803C11.6814 11.921 11.4906 12 11.2917 12C11.0928 12 10.902 12.079 10.7614 12.2197C10.6207 12.3603 10.5417 12.5511 10.5417 12.75C10.5417 12.9489 10.6207 13.1397 10.7614 13.2803C10.902 13.421 11.0928 13.5 11.2917 13.5C11.4906 13.5 11.6814 13.579 11.822 13.7197C11.9627 13.8603 12.0417 14.0511 12.0417 14.25C12.0417 14.4489 11.9627 14.6397 11.822 14.7803C11.6814 14.921 11.4906 15 11.2917 15C11.1602 14.9999 11.0311 14.9652 10.9172 14.8994C10.8033 14.8337 10.7087 14.7392 10.6428 14.6254C10.5938 14.5396 10.5284 14.4643 10.4503 14.4039C10.3722 14.3435 10.2829 14.2991 10.1876 14.2732C10.0922 14.2474 9.99273 14.2407 9.89479 14.2534C9.79685 14.2661 9.70239 14.2981 9.61683 14.3474C9.53127 14.3968 9.4563 14.4625 9.39622 14.5409C9.33614 14.6193 9.29214 14.7088 9.26674 14.8042C9.24134 14.8997 9.23504 14.9992 9.24821 15.0971C9.26138 15.195 9.29375 15.2893 9.34347 15.3746C9.59101 15.8036 9.97321 16.139 10.4308 16.3286C10.8884 16.5182 11.3957 16.5515 11.8742 16.4234C12.3526 16.2952 12.7754 16.0127 13.0769 15.6198C13.3784 15.2268 13.5418 14.7453 13.5417 14.25C13.5392 13.9939 13.4924 13.7402 13.4035 13.5H14.2917V15.75C14.2917 15.9489 14.3707 16.1397 14.5114 16.2803C14.652 16.421 14.8428 16.5 15.0417 16.5C15.2406 16.5 15.4314 16.421 15.572 16.2803C15.7127 16.1397 15.7917 15.9489 15.7917 15.75V10.5C15.9906 10.5 16.1814 10.421 16.322 10.2803C16.4627 10.1397 16.5417 9.94892 16.5417 9.75C16.5417 9.55109 16.4627 9.36033 16.322 9.21968C16.1814 9.07902 15.9906 9 15.7917 9ZM6.81442 8.43201C6.8627 8.6249 6.98562 8.79072 7.15614 8.89298C7.24058 8.94361 7.33416 8.97712 7.43155 8.99159C7.52893 9.00606 7.62822 9.0012 7.72373 8.9773C7.81924 8.9534 7.9091 8.91092 7.98819 8.85228C8.06729 8.79365 8.13406 8.72002 8.18469 8.63558C8.23533 8.55114 8.26883 8.45756 8.2833 8.36017C8.29777 8.26279 8.29291 8.1635 8.26901 8.068L6.95138 2.79566C6.8589 2.42559 6.64535 2.09705 6.3447 1.86228C6.04404 1.62752 5.67354 1.5 5.29208 1.5C4.91063 1.5 4.54012 1.62752
|
src/containers/InteractiveMessage/TranslateButton/TranslateButton.test.tsx > should throw error for failed translations:
src/containers/InteractiveMessage/TranslateButton/TranslateButton.test.tsx#L130
TestingLibraryElementError: Unable to find an element with the text: Export Interactive Template Without Translations. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
Ignored nodes: comments, script, style
<body
style="padding-right: 1024px; overflow: hidden;"
>
<div
aria-hidden="true"
>
<div
class="_Wrapper_d262a6"
>
<button
class="MuiButtonBase-root MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeMedium MuiButton-outlinedSizeMedium MuiButton-colorPrimary MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeMedium MuiButton-outlinedSizeMedium MuiButton-colorPrimary _Button_795060 undefined css-1rwt2y5-MuiButtonBase-root-MuiButton-root"
data-testid="translateBtn"
tabindex="0"
type="button"
>
<svg
fill="none"
height="18"
viewBox="0 0 18 18"
width="16"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M15.7917 9H14.2917C14.0928 9 13.902 9.07902 13.7614 9.21968C13.6207 9.36033 13.5417 9.55109 13.5417 9.75C13.5417 9.94892 13.6207 10.1397 13.7614 10.2803C13.902 10.421 14.0928 10.5 14.2917 10.5V12H13.4035C13.4924 11.7598 13.5392 11.5061 13.5417 11.25C13.5418 10.7547 13.3784 10.2732 13.0769 9.88023C12.7754 9.48726 12.3526 9.20478 11.8742 9.07661C11.3957 8.94844 10.8884 8.98176 10.4308 9.17139C9.97321 9.36101 9.591 9.69635 9.34347 10.1254C9.29375 10.2107 9.26137 10.305 9.24821 10.4029C9.23504 10.5008 9.24133 10.6003 9.26673 10.6958C9.29213 10.7912 9.33613 10.8807 9.39621 10.9591C9.45629 11.0375 9.53126 11.1032 9.61682 11.1526C9.70238 11.2019 9.79684 11.2339 9.89478 11.2466C9.99273 11.2593 10.0922 11.2526 10.1875 11.2268C10.2829 11.2009 10.3722 11.1565 10.4503 11.0961C10.5284 11.0357 10.5938 10.9604 10.6428 10.8746C10.7087 10.7608 10.8033 10.6663 10.9172 10.6006C11.0311 10.5348 11.1602 10.5001 11.2917 10.5C11.4906 10.5 11.6814 10.579 11.822 10.7197C11.9627 10.8603 12.0417 11.0511 12.0417 11.25C12.0417 11.4489 11.9627 11.6397 11.822 11.7803C11.6814 11.921 11.4906 12 11.2917 12C11.0928 12 10.902 12.079 10.7614 12.2197C10.6207 12.3603 10.5417 12.5511 10.5417 12.75C10.5417 12.9489 10.6207 13.1397 10.7614 13.2803C10.902 13.421 11.0928 13.5 11.2917 13.5C11.4906 13.5 11.6814 13.579 11.822 13.7197C11.9627 13.8603 12.0417 14.0511 12.0417 14.25C12.0417 14.4489 11.9627 14.6397 11.822 14.7803C11.6814 14.921 11.4906 15 11.2917 15C11.1602 14.9999 11.0311 14.9652 10.9172 14.8994C10.8033 14.8337 10.7087 14.7392 10.6428 14.6254C10.5938 14.5396 10.5284 14.4643 10.4503 14.4039C10.3722 14.3435 10.2829 14.2991 10.1876 14.2732C10.0922 14.2474 9.99273 14.2407 9.89479 14.2534C9.79685 14.2661 9.70239 14.2981 9.61683 14.3474C9.53127 14.3968 9.4563 14.4625 9.39622 14.5409C9.33614 14.6193 9.29214 14.7088 9.26674 14.8042C9.24134 14.8997 9.23504 14.9992 9.24821 15.0971C9.26138 15.195 9.29375 15.2893 9.34347 15.3746C9.59101 15.8036 9.97321 16.139 10.4308 16.3286C10.8884 16.5182 11.3957 16.5515 11.8742 16.4234C12.3526 16.2952 12.7754 16.0127 13.0769 15.6198C13.3784 15.2268 13.5418 14.7453 13.5417 14.25C13.5392 13.9939 13.4924 13.7402 13.4035 13.5H14.2917V15.75C14.2917 15.9489 14.3707 16.1397 14.5114 16.2803C14.652 16.421 14.8428 16.5 15.0417 16.5C15.2406 16.5 15.4314 16.421 15.572 16.2803C15.7127 16.1397 15.7917 15.9489 15.7917 15.75V10.5C15.9906 10.5 16.1814 10.421 16.322 10.2803C16.4627 10.1397 16.5417 9.94892 16.5417 9.75C16.5417 9.55109 16.4627 9.36033 16.322 9.21968C16.1814 9.07902 15.9906 9 15.7917 9ZM6.81442 8.43201C6.8627 8.6249 6.98562 8.79072 7.15614 8.89298C7.24058 8.94361 7.33416 8.97712 7.43155 8.99159C7.52893 9.00606 7.62822 9.0012 7.72373 8.9773C7.81924 8.9534 7.9091 8.91092 7.98819 8.85228C8.06729 8.79365 8.13406 8.72002 8.18469 8.63558C8.23533 8.55114 8.26883 8.45756 8.2833 8.36017C8.29777 8.26279 8.29291 8.1635 8.26901 8.068L6.95138 2.79566C6.8589 2.42559 6.64535 2.09705 6.3447 1.86228C6.04404 1.62752 5.67354 1.5 5.29208 1.5C4.91063
|
src/containers/InteractiveMessage/TranslateButton/TranslateButton.test.tsx > should throw error for failed import:
src/containers/InteractiveMessage/TranslateButton/TranslateButton.test.tsx#L148
TestingLibraryElementError: Unable to find an element with the text: Import Interactive Template. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
Ignored nodes: comments, script, style
<body
style="padding-right: 1024px; overflow: hidden;"
>
<div
aria-hidden="true"
>
<div
class="_Wrapper_d262a6"
>
<button
class="MuiButtonBase-root MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeMedium MuiButton-outlinedSizeMedium MuiButton-colorPrimary MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeMedium MuiButton-outlinedSizeMedium MuiButton-colorPrimary _Button_795060 undefined css-1rwt2y5-MuiButtonBase-root-MuiButton-root"
data-testid="translateBtn"
tabindex="0"
type="button"
>
<svg
fill="none"
height="18"
viewBox="0 0 18 18"
width="16"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M15.7917 9H14.2917C14.0928 9 13.902 9.07902 13.7614 9.21968C13.6207 9.36033 13.5417 9.55109 13.5417 9.75C13.5417 9.94892 13.6207 10.1397 13.7614 10.2803C13.902 10.421 14.0928 10.5 14.2917 10.5V12H13.4035C13.4924 11.7598 13.5392 11.5061 13.5417 11.25C13.5418 10.7547 13.3784 10.2732 13.0769 9.88023C12.7754 9.48726 12.3526 9.20478 11.8742 9.07661C11.3957 8.94844 10.8884 8.98176 10.4308 9.17139C9.97321 9.36101 9.591 9.69635 9.34347 10.1254C9.29375 10.2107 9.26137 10.305 9.24821 10.4029C9.23504 10.5008 9.24133 10.6003 9.26673 10.6958C9.29213 10.7912 9.33613 10.8807 9.39621 10.9591C9.45629 11.0375 9.53126 11.1032 9.61682 11.1526C9.70238 11.2019 9.79684 11.2339 9.89478 11.2466C9.99273 11.2593 10.0922 11.2526 10.1875 11.2268C10.2829 11.2009 10.3722 11.1565 10.4503 11.0961C10.5284 11.0357 10.5938 10.9604 10.6428 10.8746C10.7087 10.7608 10.8033 10.6663 10.9172 10.6006C11.0311 10.5348 11.1602 10.5001 11.2917 10.5C11.4906 10.5 11.6814 10.579 11.822 10.7197C11.9627 10.8603 12.0417 11.0511 12.0417 11.25C12.0417 11.4489 11.9627 11.6397 11.822 11.7803C11.6814 11.921 11.4906 12 11.2917 12C11.0928 12 10.902 12.079 10.7614 12.2197C10.6207 12.3603 10.5417 12.5511 10.5417 12.75C10.5417 12.9489 10.6207 13.1397 10.7614 13.2803C10.902 13.421 11.0928 13.5 11.2917 13.5C11.4906 13.5 11.6814 13.579 11.822 13.7197C11.9627 13.8603 12.0417 14.0511 12.0417 14.25C12.0417 14.4489 11.9627 14.6397 11.822 14.7803C11.6814 14.921 11.4906 15 11.2917 15C11.1602 14.9999 11.0311 14.9652 10.9172 14.8994C10.8033 14.8337 10.7087 14.7392 10.6428 14.6254C10.5938 14.5396 10.5284 14.4643 10.4503 14.4039C10.3722 14.3435 10.2829 14.2991 10.1876 14.2732C10.0922 14.2474 9.99273 14.2407 9.89479 14.2534C9.79685 14.2661 9.70239 14.2981 9.61683 14.3474C9.53127 14.3968 9.4563 14.4625 9.39622 14.5409C9.33614 14.6193 9.29214 14.7088 9.26674 14.8042C9.24134 14.8997 9.23504 14.9992 9.24821 15.0971C9.26138 15.195 9.29375 15.2893 9.34347 15.3746C9.59101 15.8036 9.97321 16.139 10.4308 16.3286C10.8884 16.5182 11.3957 16.5515 11.8742 16.4234C12.3526 16.2952 12.7754 16.0127 13.0769 15.6198C13.3784 15.2268 13.5418 14.7453 13.5417 14.25C13.5392 13.9939 13.4924 13.7402 13.4035 13.5H14.2917V15.75C14.2917 15.9489 14.3707 16.1397 14.5114 16.2803C14.652 16.421 14.8428 16.5 15.0417 16.5C15.2406 16.5 15.4314 16.421 15.572 16.2803C15.7127 16.1397 15.7917 15.9489 15.7917 15.75V10.5C15.9906 10.5 16.1814 10.421 16.322 10.2803C16.4627 10.1397 16.5417 9.94892 16.5417 9.75C16.5417 9.55109 16.4627 9.36033 16.322 9.21968C16.1814 9.07902 15.9906 9 15.7917 9ZM6.81442 8.43201C6.8627 8.6249 6.98562 8.79072 7.15614 8.89298C7.24058 8.94361 7.33416 8.97712 7.43155 8.99159C7.52893 9.00606 7.62822 9.0012 7.72373 8.9773C7.81924 8.9534 7.9091 8.91092 7.98819 8.85228C8.06729 8.79365 8.13406 8.72002 8.18469 8.63558C8.23533 8.55114 8.26883 8.45756 8.2833 8.36017C8.29777 8.26279 8.29291 8.1635 8.26901 8.068L6.95138 2.79566C6.8589 2.42559 6.64535 2.09705 6.3447 1.86228C6.04404 1.62752 5.67354 1.5 5.29208 1.5C4.91063 1.5 4.54012 1.62752
|
src/containers/InteractiveMessage/TranslateButton/TranslateButton.test.tsx > it should show warning if message exceeds limit:
src/containers/InteractiveMessage/TranslateButton/TranslateButton.test.tsx#L168
TestingLibraryElementError: Unable to find an element with the text: Import Interactive Template. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
Ignored nodes: comments, script, style
<body
style="padding-right: 1024px; overflow: hidden;"
>
<div
aria-hidden="true"
>
<div
class="_Wrapper_d262a6"
>
<button
class="MuiButtonBase-root MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeMedium MuiButton-outlinedSizeMedium MuiButton-colorPrimary MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeMedium MuiButton-outlinedSizeMedium MuiButton-colorPrimary _Button_795060 undefined css-1rwt2y5-MuiButtonBase-root-MuiButton-root"
data-testid="translateBtn"
tabindex="0"
type="button"
>
<svg
fill="none"
height="18"
viewBox="0 0 18 18"
width="16"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M15.7917 9H14.2917C14.0928 9 13.902 9.07902 13.7614 9.21968C13.6207 9.36033 13.5417 9.55109 13.5417 9.75C13.5417 9.94892 13.6207 10.1397 13.7614 10.2803C13.902 10.421 14.0928 10.5 14.2917 10.5V12H13.4035C13.4924 11.7598 13.5392 11.5061 13.5417 11.25C13.5418 10.7547 13.3784 10.2732 13.0769 9.88023C12.7754 9.48726 12.3526 9.20478 11.8742 9.07661C11.3957 8.94844 10.8884 8.98176 10.4308 9.17139C9.97321 9.36101 9.591 9.69635 9.34347 10.1254C9.29375 10.2107 9.26137 10.305 9.24821 10.4029C9.23504 10.5008 9.24133 10.6003 9.26673 10.6958C9.29213 10.7912 9.33613 10.8807 9.39621 10.9591C9.45629 11.0375 9.53126 11.1032 9.61682 11.1526C9.70238 11.2019 9.79684 11.2339 9.89478 11.2466C9.99273 11.2593 10.0922 11.2526 10.1875 11.2268C10.2829 11.2009 10.3722 11.1565 10.4503 11.0961C10.5284 11.0357 10.5938 10.9604 10.6428 10.8746C10.7087 10.7608 10.8033 10.6663 10.9172 10.6006C11.0311 10.5348 11.1602 10.5001 11.2917 10.5C11.4906 10.5 11.6814 10.579 11.822 10.7197C11.9627 10.8603 12.0417 11.0511 12.0417 11.25C12.0417 11.4489 11.9627 11.6397 11.822 11.7803C11.6814 11.921 11.4906 12 11.2917 12C11.0928 12 10.902 12.079 10.7614 12.2197C10.6207 12.3603 10.5417 12.5511 10.5417 12.75C10.5417 12.9489 10.6207 13.1397 10.7614 13.2803C10.902 13.421 11.0928 13.5 11.2917 13.5C11.4906 13.5 11.6814 13.579 11.822 13.7197C11.9627 13.8603 12.0417 14.0511 12.0417 14.25C12.0417 14.4489 11.9627 14.6397 11.822 14.7803C11.6814 14.921 11.4906 15 11.2917 15C11.1602 14.9999 11.0311 14.9652 10.9172 14.8994C10.8033 14.8337 10.7087 14.7392 10.6428 14.6254C10.5938 14.5396 10.5284 14.4643 10.4503 14.4039C10.3722 14.3435 10.2829 14.2991 10.1876 14.2732C10.0922 14.2474 9.99273 14.2407 9.89479 14.2534C9.79685 14.2661 9.70239 14.2981 9.61683 14.3474C9.53127 14.3968 9.4563 14.4625 9.39622 14.5409C9.33614 14.6193 9.29214 14.7088 9.26674 14.8042C9.24134 14.8997 9.23504 14.9992 9.24821 15.0971C9.26138 15.195 9.29375 15.2893 9.34347 15.3746C9.59101 15.8036 9.97321 16.139 10.4308 16.3286C10.8884 16.5182 11.3957 16.5515 11.8742 16.4234C12.3526 16.2952 12.7754 16.0127 13.0769 15.6198C13.3784 15.2268 13.5418 14.7453 13.5417 14.25C13.5392 13.9939 13.4924 13.7402 13.4035 13.5H14.2917V15.75C14.2917 15.9489 14.3707 16.1397 14.5114 16.2803C14.652 16.421 14.8428 16.5 15.0417 16.5C15.2406 16.5 15.4314 16.421 15.572 16.2803C15.7127 16.1397 15.7917 15.9489 15.7917 15.75V10.5C15.9906 10.5 16.1814 10.421 16.322 10.2803C16.4627 10.1397 16.5417 9.94892 16.5417 9.75C16.5417 9.55109 16.4627 9.36033 16.322 9.21968C16.1814 9.07902 15.9906 9 15.7917 9ZM6.81442 8.43201C6.8627 8.6249 6.98562 8.79072 7.15614 8.89298C7.24058 8.94361 7.33416 8.97712 7.43155 8.99159C7.52893 9.00606 7.62822 9.0012 7.72373 8.9773C7.81924 8.9534 7.9091 8.91092 7.98819 8.85228C8.06729 8.79365 8.13406 8.72002 8.18469 8.63558C8.23533 8.55114 8.26883 8.45756 8.2833 8.36017C8.29777 8.26279 8.29291 8.1635 8.26901 8.068L6.95138 2.79566C6.8589 2.42559 6.64535 2.09705 6.3447 1.86228C6.04404 1.62752 5.67354 1.5 5.29208 1.5C4.91063 1.5 4.54012 1.62752
|
CI
Process completed with exit code 1.
|
CI
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
CI
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|