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

The membership for software testing professionals image
Join thousands of other software testers in levelling up their careers
Explore MoT
Episode Eight: Exploring Quality Engineering image
Explore the principles and practices of quality engineering
MoT Advanced Certificate in Test Automation
Ascend to leadership roles by mastering strategic skills in automation strategy creation, planning and execution
This Week in Testing
Debrief the week in Testing via a community radio show hosted by Simon Tomes and members of the community
Subscribe to our newsletter
We'll keep you up to date on all the testing trends.