Updating Snapshots

From time to time you'll need to update the snapshot kept in your OnlineOrNot GraphQL test - for example, if you just updated your business logic and now OnlineOrNot is alerting you that your GraphQL query is returning unexpected data.

Navigate to the Tests page within OnlineOrNot, then click on the test you wish to update the snapshot for.

Scrolling down a bit, you should see the "Test" button below: OnlineOrNot Test Expected Result

Click Test, and OnlineOrNot will update its snapshot in the Expected Result field. Hit Save, and OnlineOrNot will stop alerting that your data has changed.