Chapter 12: Visual Testing in Cypress
Before we get started with visual testing, you should have an idea of the other forms of testing and how we can use Cypress to accomplish this. The previous chapters of this book covered, at a basic to intermediate level, how to easily get started with Cypress, how to configure Cypress, and how you can optimize your use of Cypress to develop a more creative workflow for your test writing process. The background information in the previous chapters will provide you with the context required to tackle this chapter. Our focus in this last chapter of this book will be on visual testing using Cypress.
In this chapter, we will cover the basics of visual testing and understand why we need it. We will also learn about some of the tools we can use to carry out visual testing. The topics in this chapter will help you, as an engineer or a tester, understand why visual testing is important for web applications and how we can leverage it to write better...