Skip to content

Commit

Permalink
test: better test ids
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Jan 9, 2025
1 parent 040fba1 commit ef8de07
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export function DefaultAuthMethodListItem({
className="flex cursor-pointer gap-3 py-2 text-left items-start"
onClick={onClick}
type={isGroupImmediateSubmit(group) ? "submit" : "button"}
data-testid="ory/ui/groups/auth-methods"
data-testid={`ory/ui/groups/auth-method/${group}`}
aria-label={`Authenticate with ${group}`}
>
<span className="mt-1">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import {
} from "@ory/elements-react"
import { useFormContext } from "react-hook-form"
import { useIntl } from "react-intl"
import { getReturnToQueryParam } from "../card/footer"
import { initFlowUrl } from "../../utils/url"

function findResendNode(nodes: UiNode[]) {
Expand Down

0 comments on commit ef8de07

Please sign in to comment.