Chapter 5: Debugging Cypress Tests
Debugging is the ability to identify and remove bugs from software applications. Having knowledge of debugging in Cypress and learning how to interpret Cypress' debugging output is critical to working with the Cypress framework. Cypress prides itself on its ability to give immediate feedback about whether tests have passed or failed. For Cypress to achieve an instant feedback mechanism, it has to be effective in the way the debug messages are structured in order to provide the user ease of interpretation.
To be able to excel in this chapter, you need to have read the previous chapters as they will help you gain knowledge of how tests run, how Cypress works, and the different ways in which we can run Cypress tests. In this chapter, we will focus on debugging Cypress tests while running them in headed mode through a test runner.
While this chapter will explore debugging Cypress using the test runner, Cypress comes bundled with other debugging...