Query by the element the user is interacting with rather than test id whenever possible (going off the guidelines here) in order to mimic the user interaction as much as possible
Remove any tests that don't test user flows (i.e. asserting if text is within a <h1/> tag)
Remove any other tests in component test files that don't test the component itself
To test:
Run each test file and confirm that all test examples within it pass
This PR makes the following changes:
<h1/>
tag)To test: