Skip to content

Issues in hsm template #4883

Issues in hsm template

Issues in hsm template #4883

Triggered via pull request January 16, 2025 09:43
Status Failure
Total duration 3m 54s
Artifacts

unit-testing.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 1 warning
src/containers/HSM/HSM.test.tsx > Add mode > it should create a template message: src/containers/HSM/HSM.test.tsx#L171
AssertionError: expected "spy" to be called at least once Ignored nodes: comments, script, style <html> <head /> <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-ku7d13-MuiTypography-root" data-testid="formLabel" > Language* </h5> <div class="_Input_029ace" > <div class="MuiFormControl-root MuiFormControl-fullWidth css-1b5lkxe-MuiFormControl-root" > <div class="MuiAutocomplete-root MuiAutocomplete-hasClearIcon MuiAutocomplete-hasPopupIcon css-ka7ti6-MuiAutocomplete-root" data-testid="autocomplete-element" > <div class="MuiFormControl-root MuiFormControl-fullWidth MuiTextField-root css-y4n9bg-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-1wgn40h-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-lc42l8-MuiInputBase-input-MuiOutlinedInput-input" id=":r12:" placeholder="" role="combobox" spellcheck="false" type="text" value="English" /> <div class="MuiAutocomplete-endAdornment css-p1olib-MuiAutocomplete-endAdornment" > <button aria-label="Clear" class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeMedium MuiAutocomplete-clearIndicator css-1pkh4lu-MuiButtonBase-root-MuiIconButton-root-MuiAutocomplete-clearIndicato
src/containers/HSM/HSM.test.tsx > Add mode > it adds quick reply buttons: src/containers/HSM/HSM.test.tsx#L254
AssertionError: expected "spy" to be called at least once Ignored nodes: comments, script, style <html> <head /> <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-ku7d13-MuiTypography-root" data-testid="formLabel" > Language* </h5> <div class="_Input_029ace" > <div class="MuiFormControl-root MuiFormControl-fullWidth css-1b5lkxe-MuiFormControl-root" > <div class="MuiAutocomplete-root MuiAutocomplete-hasClearIcon MuiAutocomplete-hasPopupIcon css-ka7ti6-MuiAutocomplete-root" data-testid="autocomplete-element" > <div class="MuiFormControl-root MuiFormControl-fullWidth MuiTextField-root css-y4n9bg-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-1wgn40h-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-lc42l8-MuiInputBase-input-MuiOutlinedInput-input" id=":r1o:" placeholder="" role="combobox" spellcheck="false" type="text" value="English" /> <div class="MuiAutocomplete-endAdornment css-p1olib-MuiAutocomplete-endAdornment" > <button aria-label="Clear" class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeMedium MuiAutocomplete-clearIndicator css-1pkh4lu-MuiButtonBase-root-MuiIconButton-root-MuiAutocomplete-clearIndicato
src/containers/HSM/HSM.test.tsx > Add mode > it adds call to action buttons: src/containers/HSM/HSM.test.tsx#L305
AssertionError: expected "spy" to be called at least once Ignored nodes: comments, script, style <html> <head /> <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-ku7d13-MuiTypography-root" data-testid="formLabel" > Language* </h5> <div class="_Input_029ace" > <div class="MuiFormControl-root MuiFormControl-fullWidth css-1b5lkxe-MuiFormControl-root" > <div class="MuiAutocomplete-root MuiAutocomplete-hasClearIcon MuiAutocomplete-hasPopupIcon css-ka7ti6-MuiAutocomplete-root" data-testid="autocomplete-element" > <div class="MuiFormControl-root MuiFormControl-fullWidth MuiTextField-root css-y4n9bg-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-1wgn40h-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-lc42l8-MuiInputBase-input-MuiOutlinedInput-input" id=":r28:" placeholder="" role="combobox" spellcheck="false" type="text" value="English" /> <div class="MuiAutocomplete-endAdornment css-p1olib-MuiAutocomplete-endAdornment" > <button aria-label="Clear" class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeMedium MuiAutocomplete-clearIndicator css-1pkh4lu-MuiButtonBase-root-MuiIconButton-root-MuiAutocomplete-clearIndicato
CI
Process completed with exit code 1.
CI
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636