Skip to content

Feature/36 add integration and unit tests #33

Feature/36 add integration and unit tests

Feature/36 add integration and unit tests #33

Triggered via pull request September 22, 2024 19:22
Status Failure
Total duration 2m 17s
Artifacts

run-tests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors
src/features/activities/activities-filters/filters.spec.tsx > features/activities/activities-filters/filters > should render buttons to open filters form: src/features/activities/activities-filters/filters.spec.tsx#L75
Error: Snapshot `features/activities/activities-filters/filters > should render buttons to open filters form > closed filters 1` mismatched - Expected + Received @@ -1,9 +1,9 @@ <body> <div> <button - aria-controls=":r1:" + aria-controls=":r0:" aria-expanded="false" aria-haspopup="true" aria-label="actions.filter_activities.title" class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeMedium css-1ccnvf0-MuiButtonBase-root-MuiIconButton-root" data-mui-internal-clone-element="true" ❯ src/features/activities/activities-filters/filters.spec.tsx:75:25
src/features/activities/activities-filters/filters.spec.tsx > features/activities/activities-filters/filters > should render form in popover for lerge screen: src/features/activities/activities-filters/filters.spec.tsx#L81
Error: Snapshot `features/activities/activities-filters/filters > should render form in popover for lerge screen > filters in popover 1` mismatched - Expected + Received @@ -3,11 +3,11 @@ > <div aria-hidden="true" > <button - aria-controls=":r4:" + aria-controls=":r2:" aria-expanded="true" aria-haspopup="true" aria-label="actions.filter_activities.title" class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeMedium css-1ccnvf0-MuiButtonBase-root-MuiIconButton-root" data-mui-internal-clone-element="true" @@ -29,12 +29,13 @@ class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root" /> </button> </div> <div + aria-label="actions.filter_activities.title" class="MuiPopover-root MuiModal-root css-1o2t9a7-MuiModal-root-MuiPopover-root" - id=":r4:" + id=":r2:" role="presentation" > <div aria-hidden="true" class="MuiBackdrop-root MuiBackdrop-invisible MuiModal-backdrop css-g3hgs1-MuiBackdrop-root-MuiModal-backdrop" @@ -47,18 +48,11 @@ <div class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation8 MuiPopover-paper css-1k8ev9l-MuiPaper-root-MuiPopover-paper" style="opacity: 1; transform: scale(1, 1); transition: opacity 0ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,transform 0ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; top: 16px; left: 16px; transform-origin: -16px -16px;" tabindex="-1" > - <p - class="MuiTypography-root MuiTypography-body1 visibility-hidden css-ahj2mt-MuiTypography-root" - id=":r3:" - > - actions.filter_activities.title - </p> <form - aria-labelledby=":r3:" class="_form_b70bb9" > <div class="MuiAutocomplete-root MuiAutocomplete-hasPopupIcon css-1h51icj-MuiAutocomplete-root" > @@ -66,12 +60,12 @@ class="MuiFormControl-root MuiFormControl-fullWidth MuiTextField-root css-wb57ya-MuiFormControl-root-MuiTextField-root" > <label class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-sizeMedium MuiInputLabel-outlined MuiFormLabel-colorPrimary MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-sizeMedium MuiInputLabel-outlined css-1p1nhed-MuiFormLabel-root-MuiInputLabel-root" data-shrink="false" - for=":r6:" - id=":r6:-label" + for=":r4:" + id=":r4:-label" > actions.filter_activities.fields.action </label> <div class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-fullWidth MuiInputBase-formControl MuiInputBase-adornedEnd MuiAutocomplete-inputRoot css-lw3us5-MuiInputBase-root-MuiOutlinedInput-root" @@ -81,11 +75,11 @@ aria-expanded="false" aria-invalid="false" autocapitalize="none" autocomplete="off" class="MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputAdornedEnd MuiAutocomplete-input MuiAutocomplete-inputFocused css-1mv6xrr-MuiInputBase-input-MuiOutlinedInput-input" - id=":r6:" + id=":r4:" name="action" role="combobox" spellcheck="false" type="text" value="" @@ -138,12 +132,12 @@ class="MuiFormControl-root MuiFormControl-fullWidth MuiTextField-root css-wb57ya-MuiFormControl-root-MuiTextField-root" > <label class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-sizeMedium MuiInputLabel-outlined MuiFormLabel-colorPrimary MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-sizeMedium MuiInputLabel-outlined css-1p1nhed-MuiFormLabel-root-MuiInputLabel
src/features/activities/activities-filters/filters.spec.tsx > features/activities/activities-filters/filters > should render form in popup for screen small screen: src/features/activities/activities-filters/filters.spec.tsx#L90
Error: Snapshot `features/activities/activities-filters/filters > should render form in popup for screen small screen > filters in popup 1` mismatched - Expected + Received @@ -3,11 +3,11 @@ > <div aria-hidden="true" > <button - aria-controls=":rj:" + aria-controls=":rg:" aria-expanded="true" aria-haspopup="true" aria-label="actions.filter_activities.title" class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeMedium css-1ccnvf0-MuiButtonBase-root-MuiIconButton-root" data-mui-internal-clone-element="true" @@ -30,11 +30,11 @@ /> </button> </div> <div class="MuiDialog-root MuiModal-root css-1p9gn7o-MuiModal-root-MuiDialog-root" - id=":rj:" + id=":rg:" role="presentation" > <div aria-hidden="true" class="MuiBackdrop-root MuiModal-backdrop css-yiavyu-MuiBackdrop-root-MuiDialog-backdrop" @@ -49,11 +49,11 @@ role="presentation" style="webkit-transform: none; transform: none; webkit-transition: -webkit-transform 225ms cubic-bezier(0.0, 0, 0.2, 1) 0ms; transition: transform 225ms cubic-bezier(0.0, 0, 0.2, 1) 0ms;" tabindex="-1" > <div - aria-labelledby=":rl:" + aria-labelledby=":ri:" class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation24 MuiDialog-paper MuiDialog-paperScrollPaper MuiDialog-paperWidthSm MuiDialog-paperFullScreen css-e9vkov-MuiPaper-root-MuiDialog-paper" role="dialog" > <h2 class="MuiTypography-root MuiTypography-h6 MuiTypography-alignCenter MuiDialogTitle-root _title_62745c css-xrt2rx-MuiTypography-root-MuiDialogTitle-root" @@ -83,11 +83,10 @@ </h2> <div class="MuiDialogContent-root _content_62745c css-ypiqx9-MuiDialogContent-root" > <form - aria-labelledby=":ri:" class="_form_b70bb9" > <div class="MuiAutocomplete-root MuiAutocomplete-hasPopupIcon css-1h51icj-MuiAutocomplete-root" > @@ -95,12 +94,12 @@ class="MuiFormControl-root MuiFormControl-fullWidth MuiTextField-root css-wb57ya-MuiFormControl-root-MuiTextField-root" > <label class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-sizeMedium MuiInputLabel-outlined MuiFormLabel-colorPrimary MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-sizeMedium MuiInputLabel-outlined css-1p1nhed-MuiFormLabel-root-MuiInputLabel-root" data-shrink="false" - for=":rm:" - id=":rm:-label" + for=":rj:" + id=":rj:-label" > actions.filter_activities.fields.action </label> <div class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-fullWidth MuiInputBase-formControl MuiInputBase-adornedEnd MuiAutocomplete-inputRoot css-lw3us5-MuiInputBase-root-MuiOutlinedInput-root" @@ -110,11 +109,11 @@ aria-expanded="false" aria-invalid="false" autocapitalize="none" autocomplete="off" class="MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputAdornedEnd MuiAutocomplete-input MuiAutocomplete-inputFocused css-1mv6xrr-MuiInputBase-input-MuiOutlinedInput-input" - id=":rm:" + id=":rj:" name="action" role="combobox" spellcheck="false" type="text" value="" @@ -167,12 +166,12 @@ class="MuiFormControl-root MuiFormControl-fullWidth MuiTextField-root css-wb57ya-MuiFormControl-root-MuiTextField-root" > <label
src/features/tasks/tasks-filter/tasks-filters.spec.tsx > features/tasks/tasks-filters/tasks-filters > should render buttons to open filters form: src/features/tasks/tasks-filter/tasks-filters.spec.tsx#L78
Error: Snapshot `features/tasks/tasks-filters/tasks-filters > should render buttons to open filters form > closed filters 1` mismatched - Expected + Received @@ -1,9 +1,9 @@ <body> <div> <button - aria-controls=":r1:" + aria-controls=":r0:" aria-expanded="false" aria-haspopup="true" aria-label="actions.tasks_filters.title" class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeMedium css-1ccnvf0-MuiButtonBase-root-MuiIconButton-root" data-mui-internal-clone-element="true" ❯ src/features/tasks/tasks-filter/tasks-filters.spec.tsx:78:25
src/features/tasks/tasks-filter/tasks-filters.spec.tsx > features/tasks/tasks-filters/tasks-filters > should render form in popover for screen with width > 720: src/features/tasks/tasks-filter/tasks-filters.spec.tsx#L84
Error: Snapshot `features/tasks/tasks-filters/tasks-filters > should render form in popover for screen with width > 720 > filters in popover 1` mismatched - Expected + Received @@ -3,11 +3,11 @@ > <div aria-hidden="true" > <button - aria-controls=":r4:" + aria-controls=":r2:" aria-expanded="true" aria-haspopup="true" aria-label="actions.tasks_filters.title" class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeMedium css-1ccnvf0-MuiButtonBase-root-MuiIconButton-root" data-mui-internal-clone-element="true" @@ -29,12 +29,13 @@ class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root" /> </button> </div> <div + aria-label="actions.tasks_filters.title" class="MuiPopover-root MuiModal-root css-1o2t9a7-MuiModal-root-MuiPopover-root" - id=":r4:" + id=":r2:" role="presentation" > <div aria-hidden="true" class="MuiBackdrop-root MuiBackdrop-invisible MuiModal-backdrop css-g3hgs1-MuiBackdrop-root-MuiModal-backdrop" @@ -47,16 +48,10 @@ <div class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation8 MuiPopover-paper css-1k8ev9l-MuiPaper-root-MuiPopover-paper" style="opacity: 1; transform: scale(1, 1); transition: opacity 0ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,transform 0ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; top: 16px; left: 16px; transform-origin: -16px -16px;" tabindex="-1" > - <p - class="MuiTypography-root MuiTypography-body1 visibility-hidden css-ahj2mt-MuiTypography-root" - id=":r3:" - > - actions.tasks_filters.title - </p> <form class="_wrapper_28e539" > <div class="MuiAutocomplete-root MuiAutocomplete-hasPopupIcon css-1h51icj-MuiAutocomplete-root" @@ -65,12 +60,12 @@ class="MuiFormControl-root MuiFormControl-fullWidth MuiTextField-root css-wb57ya-MuiFormControl-root-MuiTextField-root" > <label class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-sizeMedium MuiInputLabel-outlined MuiFormLabel-colorPrimary MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-sizeMedium MuiInputLabel-outlined css-1p1nhed-MuiFormLabel-root-MuiInputLabel-root" data-shrink="false" - for=":r6:" - id=":r6:-label" + for=":r4:" + id=":r4:-label" > actions.tasks_filters.fields.tags </label> <div class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-fullWidth MuiInputBase-formControl MuiInputBase-adornedEnd MuiAutocomplete-inputRoot css-lw3us5-MuiInputBase-root-MuiOutlinedInput-root" @@ -80,11 +75,11 @@ aria-expanded="false" aria-invalid="false" autocapitalize="none" autocomplete="off" class="MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputAdornedEnd MuiAutocomplete-input MuiAutocomplete-inputFocused css-1mv6xrr-MuiInputBase-input-MuiOutlinedInput-input" - id=":r6:" + id=":r4:" name="tagIds" role="combobox" spellcheck="false" type="text" value="" @@ -137,12 +132,12 @@ class="MuiFormControl-root MuiFormControl-fullWidth MuiTextField-root css-wb57ya-MuiFormControl-root-MuiTextField-root" > <label class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-sizeMedium MuiInputLabel-outlined MuiFormLabel-colorPrimary MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-sizeMedium MuiInputLabel-outlined css-1p1nhed-MuiFormLabel-root-MuiInputLabel-root" data-shrink="false" -
src/features/tasks/tasks-filter/tasks-filters.spec.tsx > features/tasks/tasks-filters/tasks-filters > should render form in popup for screen with width <= 720: src/features/tasks/tasks-filter/tasks-filters.spec.tsx#L96
Error: Snapshot `features/tasks/tasks-filters/tasks-filters > should render form in popup for screen with width <= 720 > filters in popup 1` mismatched - Expected + Received @@ -3,11 +3,11 @@ > <div aria-hidden="true" > <button - aria-controls=":rh:" + aria-controls=":re:" aria-expanded="true" aria-haspopup="true" aria-label="actions.tasks_filters.title" class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeMedium css-1ccnvf0-MuiButtonBase-root-MuiIconButton-root" data-mui-internal-clone-element="true" @@ -30,11 +30,11 @@ /> </button> </div> <div class="MuiDialog-root MuiModal-root css-1p9gn7o-MuiModal-root-MuiDialog-root" - id=":rh:" + id=":re:" role="presentation" > <div aria-hidden="true" class="MuiBackdrop-root MuiModal-backdrop css-yiavyu-MuiBackdrop-root-MuiDialog-backdrop" @@ -49,11 +49,11 @@ role="presentation" style="webkit-transform: none; transform: none; webkit-transition: -webkit-transform 225ms cubic-bezier(0.0, 0, 0.2, 1) 0ms; transition: transform 225ms cubic-bezier(0.0, 0, 0.2, 1) 0ms;" tabindex="-1" > <div - aria-labelledby=":rj:" + aria-labelledby=":rg:" class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation24 MuiDialog-paper MuiDialog-paperScrollPaper MuiDialog-paperWidthSm MuiDialog-paperFullScreen css-e9vkov-MuiPaper-root-MuiDialog-paper" role="dialog" > <h2 class="MuiTypography-root MuiTypography-h6 MuiTypography-alignCenter MuiDialogTitle-root _title_62745c css-xrt2rx-MuiTypography-root-MuiDialogTitle-root" @@ -94,12 +94,12 @@ class="MuiFormControl-root MuiFormControl-fullWidth MuiTextField-root css-wb57ya-MuiFormControl-root-MuiTextField-root" > <label class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-sizeMedium MuiInputLabel-outlined MuiFormLabel-colorPrimary MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-sizeMedium MuiInputLabel-outlined css-1p1nhed-MuiFormLabel-root-MuiInputLabel-root" data-shrink="false" - for=":rk:" - id=":rk:-label" + for=":rh:" + id=":rh:-label" > actions.tasks_filters.fields.tags </label> <div class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-fullWidth MuiInputBase-formControl MuiInputBase-adornedEnd MuiAutocomplete-inputRoot css-lw3us5-MuiInputBase-root-MuiOutlinedInput-root" @@ -109,11 +109,11 @@ aria-expanded="false" aria-invalid="false" autocapitalize="none" autocomplete="off" class="MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputAdornedEnd MuiAutocomplete-input MuiAutocomplete-inputFocused css-1mv6xrr-MuiInputBase-input-MuiOutlinedInput-input" - id=":rk:" + id=":rh:" name="tagIds" role="combobox" spellcheck="false" type="text" value="" @@ -166,12 +166,12 @@ class="MuiFormControl-root MuiFormControl-fullWidth MuiTextField-root css-wb57ya-MuiFormControl-root-MuiTextField-root" > <label class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-sizeMedium MuiInputLabel-outlined MuiFormLabel-colorPrimary MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-sizeMedium MuiInputLabel-outlined css-1p1nhed-MuiFormLabel-root-MuiInputLabel-root" data-shrink="false" - for=":rm
test
Process completed with exit code 1.