Go Pro Sign Up Login
0 days 0 hrs 0 min 0 sec

Summer Sale

50% off Level Up Pro until you unsubscribe.
Get access to ALL 128 courses on Level Up Tutorials

This is your last chance to get Level Up Pro for $145/year.

or Learn More
Moon Moon

Buy Now and unlock this series




yours forever

Become a Pro and unlock everything




per month

Testing Loading States & More Pitfalls

Next we are going to be testing loading states and other pitfalls and problems that you might run into. We will primarily be focusing on testing our largest component, movies list. You will use the knowledge and skills you have learned from previous videos to tackle this challenge.


Become a pro to download code and videos


User avatar


about 2 years ago

@Martin Coutts I'd recommend you download the code and compare your code to that, as the error describes it can't find that element. Will need to take a look at the code to see whats the problem.

Martin Coutts

almost 3 years ago

When I try to implement the deep testing by copying the code from Movie.test.js to my MoviesList.test.js the test fails where Scott's passes. I am getting the error

Unable to find an element by: [data-testid="movie-link"]

Unsure why other than it not being mounted before the test is run?

Want to join the conversation?

Become a Pro member today!