Skip to content

Commit

Permalink
F #3951: Add attribute to tests (#866)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergio Betanzos authored Feb 23, 2021
1 parent 6c43f75 commit 37d49c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ const SelectCard = memo(({
{...cardActionAreaProps}
className={clsx(classes.actionArea, cardActionAreaProps?.className)}
onClick={handleClick}
data-cy={(dataCy && isSelected) && `${dataCy}-card-selected`}
>
{children}
</CardActionArea>
Expand Down
2 changes: 1 addition & 1 deletion src/fireedge/src/client/containers/Settings/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const Settings = () => {
const { handleSubmit, setError, reset, formState, ...methods } = useForm({
reValidateMode: 'onSubmit',
defaultValues: settings,
resolver: () => yupResolver(FORM_SCHEMA)
resolver: yupResolver(FORM_SCHEMA)
})

React.useEffect(() => {
Expand Down

0 comments on commit 37d49c4

Please sign in to comment.