1×
Become a member
to unlock all features
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.