[WIP] upgrade packages #4978
Annotations
3 errors
Run test and generate coverage report:
src/containers/InteractiveMessage/InteractiveMessage.test.tsx#L279
AssertionError: expected "spy" to be called with arguments: [ Array(1) ]
Received:
1st spy call:
[
- "Interactive message created successfully!",
+ "Your changes have been autosaved",
]
Number of calls: 1
Ignored nodes: comments, script, style
<html>
<head>
<meta
content=""
name="emotion-insertion-point"
/>
</head>
<body>
<div>
<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"
data-testid="headerTitle"
>
Add a new Interactive message
</div>
</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-1blvszr-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.
|
Run test and generate coverage report:
src/containers/Organization/Onboarding/Form.test.tsx#L243
Error: expect(element).toHaveTextContent()
Expected element to have text content:
Chatbot Details
Received:
Confirmation
Ignored nodes: comments, script, style
<html>
<head>
<meta
content=""
name="emotion-insertion-point"
/>
</head>
<body
style=""
>
<div>
<div
class="_Container_6101ca"
>
<div
class="_LeftContainer_6101ca"
>
<div>
<img
alt="Glific"
class="_GlificLogo_6101ca"
src="/src/assets/images/logo/Logo.svg"
/>
</div>
<div
class="_Content_6101ca"
>
<div
class="MuiStepper-root MuiStepper-vertical _Stepper_6101ca css-fv1b65-MuiStepper-root"
>
<div
class="MuiStep-root MuiStep-vertical Mui-completed css-enonti-MuiStep-root"
>
<span
class="MuiStepLabel-root MuiStepLabel-vertical css-122jq7f-MuiStepLabel-root"
>
<span
class="MuiStepLabel-iconContainer Mui-completed css-1b2ju2j-MuiStepLabel-iconContainer"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium MuiStepIcon-root Mui-completed css-3hpdci-MuiSvgIcon-root-MuiStepIcon-root"
data-testid="CheckCircleIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-2 17l-5-5 1.4-1.4 3.6 3.6 7.6-7.6L19 8l-9 9z"
/>
</svg>
</span>
<span
class="MuiStepLabel-labelContainer css-p8xe3-MuiStepLabel-labelContainer"
>
<span
class="MuiStepLabel-label Mui-completed css-12eb3rq-MuiStepLabel-label"
>
<p
class="_Step_6101ca false"
>
Chatbot Details
</p>
</span>
</span>
</span>
</div>
<div
class="MuiStepConnector-root MuiStepConnector-vertical Mui-completed css-1afu6qk-MuiStepConnector-root"
>
<span
class="MuiStepConnector-line MuiStepConnector-lineVertical css-1deaddp-MuiStepConnector-line"
/>
</div>
<div
class="MuiStep-root MuiStep-vertical Mui-completed css-enonti-MuiStep-root"
>
<span
class="MuiStepLabel-root MuiStepLabel-vertical css-122jq7f-MuiStepLabel-root"
>
<span
class="MuiStepLabel-iconContainer Mui-completed css-1b2ju2j-MuiStepLabel-iconContainer"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium MuiStepIcon-root Mui-completed css-3hpdci-MuiSvgIcon-root-MuiStepIcon-root"
data-testid="CheckCircleIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-2 17l-5-5 1.4-1.4 3.6 3.6 7.6-7.6L19 8l-9 9z"
/>
</svg>
</span>
<span
class="MuiStepLabel-labelContainer css-p8xe3-MuiStepLabel-labelContainer"
>
<span
class="MuiStepLabel-label Mui-completed css-12eb3rq-MuiStepLabel-label"
>
<p
class="_Step_6101ca false"
>
Organization
|
Run test and generate coverage report
Process completed with exit code 1.
|
Loading