In this lesson we'll create an error boundary. We can use the new lifecycle hook
componentDidCatch to handle any errors that the components we wrap throw at us, without unmounting our entire app!
In this lesson, we’ll add tests that finds a focused input. We’ll use Chrome’s dev tools from inside the Cypress runner to inspect the element and update our test to verify that the expected element is focused. We’ll see how Cypress can be used to test drive our application by creating a failing test and updating our application code to make it pass.