FAIL src/test/pages/Drone-view.test.tsx > location option > can render a route with the idTestingLibraryElementError: Unable to find an element with the text: Id: 1234. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
FAIL src/test/pages/Drone-view.test.tsx > location option > can render a route with the idTestingLibraryElementError: Unable to find an element with the text: Id: 1234. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
I tried using this test because I have issues testing components used in routes and using the location param to navigate to a route while testing does not work at all