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 ...

Get End-to-End Web Testing with Cypress now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.