Time Travel

Find out how Cypress lets you quickly debug and troubleshoot problematic test cases with powerful tools, such as time travel.

In the next couple of lessons, we will dive into the main features of Cypress and how they help us write better, more stable test cases. Let’s start with time travel and what it means within the scope of Cypress.


What is time travel?

While we’re running tests, Cypress takes snapshots. These snapshots will tell us exactly what is happening at each step during our test suite.

You’ve already seen these shots in previous lessons, but you might not know they were called snapshots.

Snapshot in Cypress
Snapshot in Cypress

They are located on the left-hand side of the test runner, and area visual representation of the whole test suite. This is called a command log.

So, how does time travel come into place? Well, each step is interactive, and we can go back to previously ...