Skip to content

Commit

Permalink
Add missing test id
Browse files Browse the repository at this point in the history
  • Loading branch information
barbarah committed Nov 22, 2023
1 parent 41facaf commit 24717c7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ export default function BackButton({children}: {children: ReactNode}) {
const href = useListHref();

return (
<Link href={href} className="inline-flex items-center mb-5 text-gray-900">
<Link
data-testid="to-filtered-list-button"
href={href}
className="inline-flex items-center mb-5 text-gray-900"
>
{children}
</Link>
);
Expand Down
6 changes: 5 additions & 1 deletion apps/researcher/src/components/to-filtered-list-button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@ export default function ToFilteredListButton({className, children}: Props) {
const href = useListHref();

return (
<Link href={href} className={className}>
<Link
href={href}
className={className}
data-testid="to-filtered-list-button"
>
{children}
</Link>
);
Expand Down

0 comments on commit 24717c7

Please sign in to comment.