Tests should usually render the component, find the element through a user-facing query, and then interact with it.
Question 19 of 20 in React Testing Quiz