diff --git a/src/Explorer/Controls/ThroughputInput/ThroughputInput.test.tsx b/src/Explorer/Controls/ThroughputInput/ThroughputInput.test.tsx index 9229a3d50..d701ba4d9 100644 --- a/src/Explorer/Controls/ThroughputInput/ThroughputInput.test.tsx +++ b/src/Explorer/Controls/ThroughputInput/ThroughputInput.test.tsx @@ -23,12 +23,12 @@ describe("ThroughputInput Pane", () => { }); it("should switch mode properly", () => { - wrapper.find('[aria-label="Manual database throughput"]').simulate("change"); + wrapper.find('[id="Manual-input"]').simulate("change"); expect(wrapper.find('[aria-label="Throughput header"]').at(0).text()).toBe( "Container throughput (400 - unlimited RU/s)", ); - wrapper.find('[aria-label="Autoscale database throughput"]').simulate("change"); + wrapper.find('[id="Autoscale-input"]').simulate("change"); expect(wrapper.find('[aria-label="Throughput header"]').at(0).text()).toBe("Container throughput (autoscale)"); }); }); diff --git a/src/Explorer/Controls/ThroughputInput/ThroughputInput.tsx b/src/Explorer/Controls/ThroughputInput/ThroughputInput.tsx index 77fa8aaa0..07b105642 100644 --- a/src/Explorer/Controls/ThroughputInput/ThroughputInput.tsx +++ b/src/Explorer/Controls/ThroughputInput/ThroughputInput.tsx @@ -189,7 +189,7 @@ export const ThroughputInput: FunctionComponent = ({ = ({