Book

End-to-End Web Testing with Cypress

Cypress is a JavaScript testing framework that does not require additional dependency to perform end-to-end testing, unlike Selenium. This book will help you to leverage the features of Cypress that make it one of the best testing platforms in the current testing landscape, and take you through writing and optimizing your own tests.

Offered byPackt Logo

Difficulty Level

Intermediate

Completion Time

8h

Language

English

About Book

Who Is This Book For?

This book is for automation testing professionals, software and web testers, and frontend web developers who have intermediate-level JavaScript and beginner-level test automation knowledge, as well as for complete beginners who are looking to get started with Cypress and learn how it works. You’ll also find this book useful if you are a Selenium tester who wants to migrate to Cypress and leverage its capabilities. An intermediate-level understanding of JavaScript programming and beginner-level knowledge of web testing are required.

Book content

chapters 8h total length

Installing and Setting up Cypress

Differences between Selenium WebDriver and Cypress

Working with Cypress Command Line Tools

Writing Your first Test

Debugging Cypress Tests

Writing Cypress Tests Using TDD Approach

Understanding Element Interaction in Cypress

Understanding Variables and Aliases in Cypress

Advanced Uses of Cypress Test Runner

Exercises: Navigation and Network Requests

Exercise: Stubbing and Spying XHR requests

Visual Testing in Cypress

Related Resources

Access Ready-to-Use Books for Free!

Get instant access to a library of pre-built books—free trial, no credit card required. Start training your team in minutes!

No credit card required