1×
Become a member
to unlock all features
Autoplay

    Load Data from Test Fixtures in Cypress

    cypressCypress
    ^1.4.1

    When creating integration tests with Cypress, we’ll often want to stub network requests that respond with large datasets. All of this mock data can lead to test code that is hard to read. In this lesson, we’ll see how to use fixtures to keep sample data in files and easily load it on demand in your tests.