Join egghead, unlock knowledge.

Want more egghead?

This lesson is for members. Join us? Get access to all 3,000+ tutorials + a community with expert developers around the world.

Unlock This Lesson
1×
Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.

Autoplay

    Assert on Database Snapshots in Cypress

    cypressCypress
    ^3.1.5

    The lifecycle of our application doesn't end when we fire off an XHR request to the backend. We also want to assert that our data makes it into our database, to test our contract end-to-end. In this less, we'll make assertions on our database state, to ensure our contract is exercised completely.