Skip to content

[WIP] upgrade packages #4962

[WIP] upgrade packages

[WIP] upgrade packages #4962

Triggered via pull request February 26, 2025 16:02
Status Failure
Total duration 4m 37s
Artifacts

unit-testing.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors
src/containers/Flow/Flow.test.tsx > should create copy of a template flow: src/containers/Flow/Flow.test.tsx#L374
TestingLibraryElementError: Found multiple elements with the text: Copy of Help Here are the matching elements: Ignored nodes: comments, script, style <div class="_TitleText_7e7077" data-testid="headerTitle" > Copy of Help </div> Ignored nodes: comments, script, style <textarea aria-invalid="false" class="MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputMultiline css-w4nesw-MuiInputBase-input-MuiOutlinedInput-input" name="description" rows="2" style="height: 0px; overflow: hidden;" > Copy of Help </textarea> (If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)). Ignored nodes: comments, script, style <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" > Copy of Help </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" > Name </h5> <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 _OutlinedInput_f00ca3 css-16wblaj-MuiInputBase-input-MuiOutlinedInput-input" name="name" type="text" value="" /> <fieldset aria-hidden="true" class="MuiOutlinedInput-notchedOutline css-1ll44ll-MuiOutlinedInput-notchedOutline" > <legend class="css-w4cd9x" > <span aria-hidden="true" class="notranslate" > ​ </span> </legend> </fieldset> </div> </div> </div> <h5 class="MuiTypography-root MuiTypography-h5 _FieldLabel_787cd5 css-16xl4zq-MuiTypography-root" data-testid="formLabel" > Keywords </h5> <div class="_Input_f00ca3" data-testid="input" > <di
src/containers/HSM/HSM.test.tsx > Add mode > it should add and remove variables: src/containers/HSM/HSM.test.tsx#L204
TestingLibraryElementError: Unable to find an element by: [data-testid="delete-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
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.