From ee9bc89b99c8b4d47925265832826b50b0a46c72 Mon Sep 17 00:00:00 2001 From: Marcel Cruz <12413903+marcelscruz@users.noreply.github.com> Date: Mon, 8 Jan 2024 16:07:59 -0300 Subject: [PATCH] fix(clerk-js): Update tests --- .changeset/yellow-frogs-teach.md | 2 ++ .../src/ui/components/SignIn/__tests__/SignInFactorOne.test.tsx | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 .changeset/yellow-frogs-teach.md diff --git a/.changeset/yellow-frogs-teach.md b/.changeset/yellow-frogs-teach.md new file mode 100644 index 0000000000..a845151cc8 --- /dev/null +++ b/.changeset/yellow-frogs-teach.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/packages/clerk-js/src/ui/components/SignIn/__tests__/SignInFactorOne.test.tsx b/packages/clerk-js/src/ui/components/SignIn/__tests__/SignInFactorOne.test.tsx index da604fbc4e..8c8ed2e661 100644 --- a/packages/clerk-js/src/ui/components/SignIn/__tests__/SignInFactorOne.test.tsx +++ b/packages/clerk-js/src/ui/components/SignIn/__tests__/SignInFactorOne.test.tsx @@ -624,7 +624,7 @@ describe('SignInFactorOne', () => { const { userEvent } = render(, { wrapper }); await userEvent.click(screen.getByText('Use another method')); - await userEvent.click(screen.getByText('Back')); + await userEvent.click(screen.getByText('Back to previous method')); screen.getByText('Enter your password'); });