mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-04-30 13:35:07 +01:00
Resolved test case issue
This commit is contained in:
parent
74095b6bc4
commit
f108ed4fbd
@ -21,12 +21,10 @@ describe("ThroughputInput Pane", () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it("should switch mode properly", () => {
|
it("should switch mode properly", () => {
|
||||||
wrapper.find('[aria-label="Manual mode"]').simulate("change");
|
wrapper.find(".ms-ChoiceField-input").at(0).simulate("change");
|
||||||
expect(wrapper.find('[aria-label="Throughput header"]').at(0).text()).toBe(
|
expect(wrapper.find("#throughPut").at(0).text()).toBe("Container throughput (autoscale)");
|
||||||
"Container throughput (400 - unlimited RU/s)"
|
|
||||||
);
|
|
||||||
|
|
||||||
wrapper.find('[aria-label="Autoscale mode"]').simulate("change");
|
wrapper.find(".ms-ChoiceField-input").at(1).simulate("change");
|
||||||
expect(wrapper.find('[aria-label="Throughput header"]').at(0).text()).toBe("Container throughput (autoscale)");
|
expect(wrapper.find("#throughPut").at(0).text()).toBe("Container throughput (400 - unlimited RU/s)");
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user