Skip to Main Content
End-to-End Web Testing with Cypress
book

End-to-End Web Testing with Cypress

by Waweru Mwaura
January 2021
Intermediate to advanced content levelIntermediate to advanced
240 pages
5h 5m
English
Packt Publishing
Content preview from End-to-End Web Testing with Cypress

Chapter 8: Understanding Variables and Aliases in Cypress

Before we get started on how variables and aliases work in Cypress, it is important to understand what we covered in the previous chapters on how to write tests in Cypress, how to configure tests, and even how to use Cypress to write applications in the proper way by following a test-driven development approach. The background information provided in the previous chapters of this book will give you a good grounding as we dive into how variables and aliases work. By exploring what variables and aliases are, we will understand how we can create references in Cypress, which will ease our test writing process and the complexity of our tests. Understanding how to use variables and aliases ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Simplify Testing with React Testing Library

Simplify Testing with React Testing Library

Scottie Crump
REST API Automation Testing from Scratch - REST Assured Java

REST API Automation Testing from Scratch - REST Assured Java

Venkatesh Chepuri (Rahul Shetty), Rahul Shetty

Publisher Resources

ISBN: 9781839213854Supplemental Content