Introduction to Cypress

Become comfortable with using Cypress and discover how to introduce it to your work projects

    • Marie Cruz's profile
  • Intermediate
  • 6
  • 5
375 already enrolled
Introduction to this Course
  • Summarise what this course is about
  • Discuss the importance of test automation
  • Know the prerequisites needed to do well on this course
  • Identify the different lessons in this course
Introduction to Cypress
  • Outline what Cypress is
  • Explain why Cypress was created
Setting up Cypress
  • Install Cypress using Node and NPM
  • Identify the folder structure Cypress creates when we install Cypress
  • Identify the different pre-installed files which comes with Cypress
Writing our First Cypress Test
  • Use Mocha’s describe and it blocks to structure their first Cypress test
  • Use the Cypress Test Runner features such as Selector Playground
  • Construct their first automated test using Cypress
  • Run their first Cypress test interactively and also headlessly on the command line
  • Execute their first Cypress test on different browsers that Cypress supports
Exploring More Cypress Tests
  • Explain what an alias is in Cypress
  • Generate test data using Cypress fixtures and use it on a login test
  • Explain why Cypress custom commands is useful for test refactoring

Cypress is currently one of the most popular modern testing frameworks which shows that a lot of developers and testers are switching to using it. In this course, we’ll look at what Cypress is and why it’s very popular. As a tester who wants to break into test automation, there are so many tools to choose from and this can be overwhelming. Cypress can help you by taking away all the complexities of setting up a test automation framework so you can start providing value by writing the tests instantly. We’ll also look at what the Cypress Test Runner is and show you how easy it is to debug your tests.

Once you have completed this course, you’ll gain a better understanding of this amazing tool and how it can help you with your testing needs. In addition, you’ll also feel comfortable writing automated tests scripts which should take you towards the path of becoming an automation tester.

Engineer Your System - Hands-On Virtual Workshop with Elisabeth Hendrickson image
Get 20% off with code MOTAVERSE! Happening on the 13th of March, from 9AM to 1PM PDT. A 4-hour online live deep dive into three core systems thinking tools for software development process improvement.
Explore MoT
TestBash Brighton 2025 image
Wed, 1 Oct
On the 1st & 2nd of October, 2025 we'll be back to Brighton for another TestBash: the largest software testing conference in the UK
MoT Intermediate Certificate in Test Automation
Elevate to senior test automation roles with mastery in automated checks, insightful reporting, and framework maintenance
This Week in Testing
Debrief the week in Testing via a community radio show hosted by Simon Tomes and members of the community
Marie Cruz
she/her
Senior Developer Advocate
Marie Cruz is a Software Tester with over 10 years of experience and the co-author of the book Contract Testing in Action. Currently, she works as a Senior Developer Advocate at Grafana Labs.
Subscribe to our newsletter
We'll keep you up to date on all the testing trends.