Assert on Database Snapshots in Cypress

InstructorBrett Cassette

Share this video with your friends

Send Tweet

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.