You'll need to sign up to OnlineOrNot if you haven't already:
Add an Application
Once you've created an account and logged in for the first time, you're ready to add your first application - either click on "Applications" in the Main Menu, or click here.
Create a Test
Once you've added a GraphQL server, you're ready to start testing it. Either click on "Tests" in the Main Menu or click here.
If you are unsure of the Expected Result, clicking the "Test" button near the bottom of the form will send a GraphQL request to your server and populate the "Expected Result" field.
Should your GraphQL server require advanced configuration such as custom headers, you can enter them in the "Headers" tab.
We also support secrets in the header fields - if you have any sensitive values, you can add them via the "Secret Headers" form in the "Headers" tab.
Secret Headers are not visible to anyone (including you and your team mates) once you save the form (inspecting the form will just give you a Buffer array of encrypted data).
Once you've set up your test, in the Tests page you'll be able to see a list your tests, and view their results: When you click Results, you should see that OnlineOrNot is getting ready to run your first test: After a minute, you'll start to have the results of your snapshot tests:
You've done it!
Congratulations, you've now got an active GraphQL test checking your GraphQL responses for regressions!