Skip to content

[WIP] upgrade packages #4965

[WIP] upgrade packages

[WIP] upgrade packages #4965

Triggered via pull request February 27, 2025 03:58
Status Failure
Total duration 4m 32s
Artifacts

unit-testing.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors
src/containers/HSM/HSM.test.tsx > Add mode > it should add and remove variables: src/containers/HSM/HSM.test.tsx#L212
TestingLibraryElementError: Unable to find an element by: [data-testid="variable"] Ignored nodes: comments, script, style <body> <div /> <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 HSM Template </div> </div> <div class="_TextHeading_7e7077" > Please enter below details. </div> </div> </div> </div> <form> <div class="_Form_787cd5 " data-testid="formLayout" > <h5 class="MuiTypography-root MuiTypography-h5 _FieldLabel_787cd5 css-16xl4zq-MuiTypography-root" data-testid="formLabel" > Language* </h5> <div class="_Input_029ace" > <div class="MuiFormControl-root MuiFormControl-fullWidth css-ytlejw-MuiFormControl-root" > <div class="MuiAutocomplete-root MuiAutocomplete-hasClearIcon MuiAutocomplete-hasPopupIcon css-1tlcqt-MuiAutocomplete-root" data-testid="autocomplete-element" > <div class="MuiFormControl-root MuiFormControl-fullWidth MuiTextField-root css-cmpglg-MuiFormControl-root-MuiTextField-root" data-testid="AutocompleteInput" > <div class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-fullWidth MuiInputBase-formControl MuiInputBase-adornedEnd MuiAutocomplete-inputRoot _DefaultInputRoot_029ace css-1n04w30-MuiInputBase-root-MuiOutlinedInput-root" > <input aria-autocomplete="list" aria-expanded="false" aria-invalid="false" autocapitalize="none" autocomplete="off" class="MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputAdornedEnd MuiAutocomplete-input MuiAutocomplete-inputFocused css-1dune0f-MuiInputBase-input-MuiOutlinedInput-input" id=":r30:" placeholder="" role="combobox" spellcheck="false" type="text" value="English" /> <div class="MuiAutocomplete-endAdornment css-1uhhrmm-MuiAutocomplete-endAdornment" > <button aria-label="Clear" class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeMedium MuiAutocomplete-clearIndicator css-1x7n7v0-MuiButtonBase-root-MuiIconButton-root-MuiAutocomplete-clearIndicator" tabindex="-1" title="Clear" type="button" > <svg aria-
src/containers/Auth/ResetPassword/ResetPasswordConfirmOTP.test.tsx > <Registration /> > should submit the form correctly: src/containers/Auth/Registration/Registration.test.tsx#L100
TestingLibraryElementError: Unable to find an element with the text: Confirm OTP. 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> <div> <div class="_Container_beb74f" data-testid="AuthContainer" > <div class="_Auth_beb74f" > <div> <img alt="Glific" class="_GlificLogo_beb74f" src="/src/assets/images/logo/Logo.svg" /> </div> <hr class="_Break_beb74f" /> <div class="_OrganizationName_beb74f" /> <div class="_Box_beb74f _RegistrationBox_beb74f" > <div class="_BoxTitle_beb74f _RegistrationBoxTitle_beb74f" > <h4 class="MuiTypography-root _TitleText_beb74f MuiTypography-h4 css-f84ov1-MuiTypography-root" > Create your new account </h4> </div> <div class="_SubText_beb74f" /> <div class="_CenterBox_beb74f" > <form action="#" class="_Form_beb74f" > <div> <div class="_Spacing_beb74f" /> <div class="_Input_f00ca3" data-testid="input" > <div class="MuiFormControl-root MuiFormControl-fullWidth css-ytlejw-MuiFormControl-root" > <div class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-fullWidth MuiInputBase-formControl _OutlineInput_f00ca3 css-1blp12k-MuiInputBase-root-MuiOutlinedInput-root" data-testid="outlinedInput" > <input aria-invalid="false" class="MuiInputBase-input MuiOutlinedInput-input _DarkOutlinedInput_f00ca3 css-16wblaj-MuiInputBase-input-MuiOutlinedInput-input" name="name" placeholder="Your full name" type="text" value="John doe" /> <fieldset aria-hidden="true" class="MuiOutlinedInput-notchedOutline css-1ll44ll-MuiOutlinedInput-notchedOutline" > <legend class="css-81qg8w" > <span> Your full name </span> </legend> </fieldset> </div> </div> </div> </div> <div> <div class="_Spacing_beb74f" /> <div class="_Input_f2ff74" data-testid="phoneInput" > <div class="MuiFormControl-root _Input_f2ff74 css-1iw3t7y-MuiFormControl-root" > <div class=" react-tel-input " > <div class="special-label" > Phone </div> <input class="form-control _PhoneNumber_f2ff74" name="phone" placeholder="Your personal WhatsApp number" required="" type="tel" value="+919978776554" /> <div class="flag-dropdown " > <div
src/containers/Organization/Onboarding/Form.test.tsx > it should submit the form: src/containers/Organization/Onboarding/Form.test.tsx#L234
TestingLibraryElementError: Unable to find an element with the text: Success!. 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="" > <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 </p> </span> </span> </span> </div> <div class="MuiStepConnector-r
src/containers/Organization/Onboarding/Form.test.tsx > it should disgree and send an email: 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
CI
Process completed with exit code 1.