You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also have noticed this, dumping out the whole DOM isn't incredibly useful for me and this seems to be the only way to limit that DOM output on find failure
If you are using vite with cypress, vite does not automatically compile process.env into your compiled test output. Since in cypress everything, including this lib, is basically compiled and executed in the browser it is subject to your compilers env definitions so I'd guess most likely anyone with this problem probably has an issue in their build compiler settings. You have to do this for vite:
cypress-testing-library
version: @testing-library/cypress: 8.0.2node
version: 17.8.0npm
(oryarn
) version: 8.5.5Relevant code or config
What you did:
Trying to use the DEBUG_PRINT_LIMIT variable in the testing library documentation to show the whole dom when a selector fails.
What happened:
DEBUG_PRINT_LIMIT stayed at the default level
Suggested solution:
Could we check that this library supports the DEBUG_PRINT_LIMIT variable?
The text was updated successfully, but these errors were encountered: