In order to easily test the GraphQL queries all you need to do is install the ChromeiQL extension for Chrome Browser by pressing the Add to Chrome.
Once you have added it you will see the extension icon in the right top corner of the browser window. Pressing it will move you to the new window where the testing is actually conducted.
This is the example of how we test the GraphQL query for Magefan Magento 2 Blog module:
- Set the Endpoint URL in the corresponding field.
- In the left field set the query. It is also allowed to state the query parameters if needed below the query section.
- Press the Run ( > ) button and see the result on the right.