Skip to content

Commit

Permalink
fix(test): update one data-cy in wrong place after migration
Browse files Browse the repository at this point in the history
  • Loading branch information
HRemonen committed Nov 25, 2024
1 parent a304a43 commit cdbebd3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/client/components/common/FormikDatePicker.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ const FormikDatePicker = ({ name, ...props }) => {
'data-cy': `formik-date-picker-field-${name}-input`,
},
},
field: {
'data-cy': `formik-date-picker-field-${name}`,
},
inputAdornment: {
'data-cy': `formik-date-picker-keyboard-field-${name}`,
'aria-label': 'change date',
Expand All @@ -40,9 +43,6 @@ const FormikDatePicker = ({ name, ...props }) => {
'data-cy': `formik-date-picker-field-${name}-popper`,
},
}}
InputProps={{
'data-cy': `formik-date-picker-field-${name}`,
}}
maxDate={new Date('2300-01-01')}
{...props}
/>
Expand Down

0 comments on commit cdbebd3

Please sign in to comment.