Search⌘ K

Troubleshooting

Explore how to effectively troubleshoot JavaScript tests using Cypress. Learn to inspect test snapshots, log messages to the browser console, capture screenshots, and use Cypress commands for debugging. This lesson prepares you to write more complex tests and handle general troubleshooting in your Rails front-end development.

We'll cover the following...

Cypress has a few ways to let you see what’s going on during testing. First off, each step in a test produces a snapshot that you can look at in the test runner and also inspect via the ...