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

Towards Autonomous UI Testing image
Reduce flakiness, enhance test coverage, and streamline automation. Start your free trial now!
Explore MoT
Software Quality in the AI-First Landscape image
Thu, 24 Apr
The Al wave is here, and QA teams are at a turning point
MoT Foundation Certificate in Test Automation image
Unlock the essential skills to transition into Test Automation through interactive, community-driven learning, backed by industry expertise
Leading with Quality
A one-day educational experience to help business lead with expanding quality engineering and testing practices.
This Week in Testing image
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.