Skip to content

Commit

Permalink
feat: add test ids to components (#290)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonas-jonas authored Nov 26, 2024
1 parent 286014a commit 9982e35
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ export function DefaultAuthMethodListItem({
className="flex text-left py-2 gap-3 cursor-pointer"
onClick={onClick}
type={isGroupImmediateSubmit(group) ? "submit" : "button"}
id={`auth-method-list-item-${group}`}
data-testid="auth-method-list-item"
aria-label={`Authenticate with ${group}`}
>
<div className={"flex-none w-4 h-4 mt-[2px]"}>
{Icon && <Icon size={20} className="text-forms-fg-default" />}
Expand Down

0 comments on commit 9982e35

Please sign in to comment.