Cypress Tutorial Home / Video /

What Are Cypress Fixtures? | Setting Up Cypress Fixtures | Cypress Tutorial | Part IX

What Are Cypress Fixtures? | Setting Up Cypress Fixtures | Cypress Tutorial | Part IX

...Playlist

...
  • Introduction to Cypress Testing
  • Cypress GET and FIND Command Hacks
  • How to install Cypress Plugin & Set Environment Variables
  • How To Handle Cypress Async Commands
  • How to Handle Non-Cypress Async Promises using .then command?
  • How to use Assertion in Cypress?
  • How To Write Tests With Cypress UI Commands
  • What Are Cypress Hooks?
  • What Are Cypress Fixtures?
  • What Are Cypress Custom Commands?
  • What Are Cypress Mouse Commands?
  • What Are Cypress Actions? | GitHub Actions
  • Perform Cross Browser Testing on Cloud with Cypress & LambdaTest
  • Learn Cypress in 3 Hours | Full Cypress Tutorial

About The Video

Cypress provides a directory named fixtures, which can store multiple “JSON” files representing test data. This is useful for tests that must read the same data over and over again. Thus, fixtures enable data-driven automation in Cypress by saving the test data in JSON format. In this video, Chris DeSilva (@desilvadev) helps you understand "how to use fixtures in test scripts?" Furthermore, you are going to learn how to add Cypress fixtures to mock up some test interactions of the application, which will run locally on your machine.

Video Chapters

Introduction to Cypress Fixtures

Learning Goals

Getting started with initial Cypress setup

Using “cy.fixtures” command

Modifying the data for the Cypress test

Taking a look at “cy.intercept” command

Session Recap

Conclusion of the session

More Videos from Cypress Tutorial