Introduction to Cypress
Become comfortable with using Cypress and discover how to introduce it to your work projects
-
- Intermediate
- 6
- 5
367 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
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.
- Basic understanding of JavaScript (https://www.ministryoftesting.com/courses/introduction-to-javascript-mark-winteringham)
- Understanding of building blocks of the Internet (https://www.ministryoftesting.com/courses/the-building-blocks-of-the-internet-mark-winteringham)
- Basic knowledge on how to use an IDE such as VSCode (https://code.visualstudio.com/download)
- Node v12.16.* and NPM 6.13.* installed (https://nodejs.org/en/download/)