Enhancements in interactive messages #4280
Annotations
2 errors and 2 warnings
src/containers/InteractiveMessage/InteractiveMessage.test.tsx > translates the template > it shows error if clicked on translation without filling details:
src/containers/InteractiveMessage/InteractiveMessage.test.tsx#L384
TestingLibraryElementError: Unable to find an element with the text: Message content is required.. 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="_ItemAdd_787cd5"
data-testid="add-container"
>
<div
class="_Heading_7e7077"
data-testid="heading"
>
<div
class="_HeadingWrapper_7e7077"
>
<div
class="_BackIcon_7e7077"
>
<svg
data-testid="back-button"
fill="none"
height="40"
viewBox="0 0 40 40"
width="40"
xmlns="http://www.w3.org/2000/svg"
>
<circle
cx="20"
cy="20"
fill="white"
r="19.5"
stroke="#CCCCCC"
/>
<path
d="M22.9292 28L15 20L22.9292 12L24.3333 13.4167L17.8083 20L24.3333 26.5833L22.9292 28Z"
fill="#717971"
/>
</svg>
</div>
<div>
<div
class="_HeadingTitle_7e7077"
>
<div
class="_TitleText_7e7077"
>
Add a new Interactive message
</div>
<span
class="_InfoIconContainer_371fd4"
data-mui-internal-clone-element="true"
data-testid="help-icon"
>
<svg
class="_InfoIcon_371fd4"
fill="none"
height="18"
viewBox="0 0 18 18"
width="18"
xmlns="http://www.w3.org/2000/svg"
>
<g
clip-path="url(#clip0_568_4972)"
>
<path
d="M9 16.5C13.1421 16.5 16.5 13.1421 16.5 9C16.5 4.85786 13.1421 1.5 9 1.5C4.85786 1.5 1.5 4.85786 1.5 9C1.5 13.1421 4.85786 16.5 9 16.5Z"
stroke="#555555"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="1.5"
/>
<path
d="M9 12V9"
stroke="#555555"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="1.5"
/>
<path
d="M9 6H9.0075"
stroke="#555555"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="1.5"
/>
</g>
<defs>
<clippath
id="clip0_568_4972"
>
<rect
fill="white"
height="18"
width="18"
/>
</clippath>
</defs>
</svg>
</span>
</div>
<div
class="_TextHeading_7e7077"
>
Please enter below details.
</div>
</div>
</div>
</div>
<form>
<div
class="_Form_787cd5 "
data-testid="formLayout"
>
<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-M
|
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/
|