Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

End-to-End JavaScript Testing with Cypress.io

via LinkedIn Learning

Write review

Overview

Google, IBM & Meta Certificates – 40% Off
One plan covers every Professional Certificate on Coursera.
Unlock All Certificates
Get a step-by-step introduction to Cypress, a popular and powerful end-to-end testing tool for web applications.

Syllabus

Introduction
  • It's time to use Cypress.io to do some end-to-end JavaScript testing
  • What you should know
1. Introduction to Cypress
  • What is Cypress?
  • Advantages of Cypress
2. The Basics
  • Installing and running Cypress
  • Writing and running Cypress tests
  • Testing text inputs
  • Selecting elements
  • Element aliasing
  • Working with command results
  • Using beforeEach
  • Setting a base URL
  • Challenge 1: Writing your own tests
  • Solution 1: Writing your own tests
3. Intermediate Concepts
  • Interacting with elements
  • Triggering other actions
  • Common assertions
  • Automatic retries
  • Debugging Cypress tests
  • Setting environment variables
  • Working with test doubles
  • Challenge 2: Writing your own tests
  • Solution 2: Writing your own tests
4. Useful Commands
  • The wrap command
  • The and command
  • The filter and not commands
  • Typing special characters
  • Activating code completion
  • Challenge 3: Writing your own tests
  • Solution 3: Writing your own tests
Conclusion
  • Next steps with Cypress.io and JavaScript

Taught by

Shaun Wassell

Reviews

4.5 rating at LinkedIn Learning based on 58 ratings

Start your review of End-to-End JavaScript Testing with Cypress.io

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.