Learn how to set up an end-to-end JavaScript testing framework using Cypress.io.
Overview
Syllabus
Introduction
- Test automation with JavaScript
- What you should know
- Software installation
- What is Cypress.io
- Advantages of Cypress.io
- Limitations of Cypress.io
- Installing and opening Cypress
- Writing your first Cypress test
- Testing text input
- Selecting elements
- Aliasing elements
- Working with command results
- The "beforeEach" hook
- Setting a base URL
- Interacting with elements
- Triggering other actions
- Common assertions
- Automatic retrying
- Debugging in Cypress
- Environment variables
- Test doubles
- The "wrap" command
- The "and" command
- The "filter" and "not" commands
- Typing special characters
- Activating code completion
- Summary
Taught by
Shaun Wassell