I am trying to write the test cases based on react component state. But making state changes for one testcase getting reflected in others as well.
let wrapper