From 7dbccff41dca0fd3eed29bd358a674d0bcc4de16 Mon Sep 17 00:00:00 2001 From: MokireddySampath <120497218+MokireddySampath@users.noreply.github.com> Date: Wed, 1 Feb 2023 22:20:03 +0530 Subject: [PATCH] fix for defect 1703851&1703931 (#1379) --- .../ThroughputInput/ThroughputInput.tsx | 18 +++++++++++---- .../ThroughputInput.test.tsx.snap | 22 +++++++++++-------- 2 files changed, 27 insertions(+), 13 deletions(-) diff --git a/src/Explorer/Controls/ThroughputInput/ThroughputInput.tsx b/src/Explorer/Controls/ThroughputInput/ThroughputInput.tsx index ab4c45c03..c4b3d936c 100644 --- a/src/Explorer/Controls/ThroughputInput/ThroughputInput.tsx +++ b/src/Explorer/Controls/ThroughputInput/ThroughputInput.tsx @@ -186,6 +186,7 @@ export const ThroughputInput: FunctionComponent = ({ = ({ tabIndex={0} onChange={(e) => handleOnChangeMode(e, "Autoscale")} /> - Autoscale + = ({ tabIndex={0} onChange={(e) => handleOnChangeMode(e, "Manual")} /> - Manual + {isAutoscaleSelected && ( - + Estimate your required RU/s with{" "} - + capacity calculator . diff --git a/src/Explorer/Controls/ThroughputInput/__snapshots__/ThroughputInput.test.tsx.snap b/src/Explorer/Controls/ThroughputInput/__snapshots__/ThroughputInput.test.tsx.snap index bfe811a96..587eee9dc 100644 --- a/src/Explorer/Controls/ThroughputInput/__snapshots__/ThroughputInput.test.tsx.snap +++ b/src/Explorer/Controls/ThroughputInput/__snapshots__/ThroughputInput.test.tsx.snap @@ -659,35 +659,39 @@ exports[`ThroughputInput Pane should render Default properly 1`] = ` aria-required={true} checked={true} className="throughputInputRadioBtn" + id="Autoscale-input" key=".0:$.0" onChange={[Function]} role="radio" tabIndex={0} type="radio" /> - Autoscale - + - Manual - + Estimate your required RU/s with