From 12555f691ff6451fa78a35310b619dd6985faf67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20C=2E=20Morency?= <1102868+fmorency@users.noreply.github.com> Date: Tue, 7 Jan 2025 16:18:24 -0500 Subject: [PATCH] fix: factory button label (#180) --- components/factory/forms/ConfirmationForm.tsx | 2 +- components/factory/forms/TokenDetailsForm.tsx | 4 ++-- components/factory/forms/__tests__/TokenDetailsForm.test.tsx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/factory/forms/ConfirmationForm.tsx b/components/factory/forms/ConfirmationForm.tsx index c2ffab5a..0f9c0680 100644 --- a/components/factory/forms/ConfirmationForm.tsx +++ b/components/factory/forms/ConfirmationForm.tsx @@ -208,7 +208,7 @@ export default function ConfirmationForm({ onClick={prevStep} className="btn btn-neutral dark:text-white text-black w-[calc(50%-12px)]" > - Edit Token Metadata + Back: Token Metadata diff --git a/components/factory/forms/__tests__/TokenDetailsForm.test.tsx b/components/factory/forms/__tests__/TokenDetailsForm.test.tsx index 6a437253..6a20afb7 100644 --- a/components/factory/forms/__tests__/TokenDetailsForm.test.tsx +++ b/components/factory/forms/__tests__/TokenDetailsForm.test.tsx @@ -77,7 +77,7 @@ describe('TokenDetailsForm Component', () => { test('next button is enabled when form is valid', async () => { renderWithChainProvider(); - const nextButton = screen.getByText('Next: Group Policy'); + const nextButton = screen.getByText('Next: Confirmation'); await waitFor(() => { expect(nextButton).toBeEnabled(); });