From 4f17e996a2da681f0d1a37c6e33025d2ec945553 Mon Sep 17 00:00:00 2001 From: Alyssa Wang Date: Thu, 17 Oct 2024 19:06:28 -0400 Subject: [PATCH] FI-3286: Rename Auth Type dropdown input (#545) * rename auth type dropdown input * update test --- client/src/components/InputsModal/AuthTypeSelector.tsx | 2 +- client/src/components/InputsModal/__tests__/Inputs.test.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/components/InputsModal/AuthTypeSelector.tsx b/client/src/components/InputsModal/AuthTypeSelector.tsx index 124b7cb38..922687c74 100644 --- a/client/src/components/InputsModal/AuthTypeSelector.tsx +++ b/client/src/components/InputsModal/AuthTypeSelector.tsx @@ -26,7 +26,7 @@ const AuthTypeSelector: FC = ({ const selectorModel: TestInput = { name: 'auth_type', type: 'select', - title: `${requirement.name} Auth Type`, + title: 'Auth Type', description: requirement.description, default: selectorSettings.default || 'public', optional: selectorSettings.optional, diff --git a/client/src/components/InputsModal/__tests__/Inputs.test.tsx b/client/src/components/InputsModal/__tests__/Inputs.test.tsx index 00268212b..eb1827014 100644 --- a/client/src/components/InputsModal/__tests__/Inputs.test.tsx +++ b/client/src/components/InputsModal/__tests__/Inputs.test.tsx @@ -185,7 +185,7 @@ describe('Input Components', () => { , ); - const inputText = screen.getByText('authInput Auth Type (required)'); + const inputText = screen.getByText('Auth Type (required)'); expect(inputText).toBeVisible(); });