End-to-end Testing with Cypress Series: 02 Getting Started @TestDouble
End-to-end Testing with Cypress Series: 02 Getting Started  @TestDouble
Uploaded March 2022 | Updated November 2026, 2 hours ago
In this video, get started with writing end-to-end tests with Cypress. After you follow along with this video, you will be able to create a Cypress end-to-end test suite for your own application and add basic tests to it.

You will learn how to:
- set up a demo application to test against
- install Cypress and initialize a new Cypress end-to-end test suite
- create a new Cypress end-to-end test file
- use Cypress commands and default assertions to create your first test
- view test run results in Cypress

Cypress Version Notice: at the time this video was recorded, Cypress was at version 7.5.0. Since then Cypress has released newer versions. Test Double recommends still installing Cypress 7.5.0 as the video directs, but the test suite in this video should still run with the newest version of Cypress. Should you run into any issues installing Cypress, Test Double can only offer support if you install version 7.5.0.

Initializing Test Suite Notice: after running `npx cypress open`, you may see a message that no version of Cypress is installed in your computer’s apps. If that happens, you can run `npx cypress install` to install the Cypress app, and then run `npx cypress open` after that.
Chapters
00:00 Intro
00:10 Recap of previous video
00:18 Goals for getting started writing end-to-end tests with Cypress
00:30 Introducing the demo app
00:56 Forking the demo app repo
01:25 Clone forked demo app repo
01:42 Install dependencies and run demo app
02:08 Trying out the demo app
02:51 Run server in end-to-end test environment
03:19 Install Cypress
03:52 Open Cypress to initialize end-to-end tests
04:20 Getting familiar with the Cypress app window
04:30 Running an example Cypress end-to-end test
04:53 Reviewing Cypress end-to-end test run results
04:59 Stopping Cypress end-to-end test
05:12 Inspecting Cypress file and directory artifacts
05:44 Creating a new Cypress end-to-end test file
06:13 Adding a new end-to-end test
06:26 Cypress’ global cy object
06:36 Cypress commands via the cy object
06:40 Cypress visit command
06:49 Using Cypress app window to run a new end-to-end test file
07:17 Using Cypress selector commands
07:30 Cypress get command
07:36 Cypress contains command
07:41 Chaining Cypress commands
07:56 Save to rerun the Cypress end-to-end test
08:03 Reviewing log of Cypress commands ran during an end-to-end test
08:14 Cypress default assertions as commands
08:51 Intentionally breaking test to inspect Cypress end-to-end test failures
09:05 Restoring the broken end-to-end test
09:11 Adding more default assertions via commands
09:32 Recapping what you learned
09:56 Conclusion and next video teaser

Find out more about Test Double at link.testdouble.com/more-info
End-to-end Testing with Cypress Series: 02 Getting StartedHow to Test Auth Flows with Playwright in Next.jsUncomfortable truths about vibe coding almost nobody will say out loudThe old, legacy system probably works fineBuilding an agentic product thats an inch wide and mile deepDomain expertise as the last moat in product developmentThe end of legacy code (RailsConf 2023)Why cycling tech is so fragmentedPlease mock meThe hidden FIT file data Strava doesn’t showThe fastest way to spot wonky AI outputsFrom age 13 to national cycling champion
Test Double |

End-to-end Testing with Cypress Series: 02 Getting Started

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER