🔂Integration Testing

Set up testing to have confidence when deploying to production.

Overview

All valid submissions from localhost will return success, display your data-success element and show a console log with the fields received.

Example console log on development env:

{
    "is_test": true,
    "message": "Submission Setup Correctly",
    "fields": [
        "Name",
        "Email",
        "UID",
        "Issue",
        "Message"
    ]
}

Manual Testing

To ensure a smooth and successful implementation, we recommend testing your setup at least once before deploying it to production. Additionally, it's a good idea to perform another test in the production environment to confirm that your project is properly configured and functioning as expected.

Automated Testing

The same testing method can be used for running automated tests using Cypress, Capybara, or any other integration testing framework. The API response times should be ~ 5s at most, but could be higher if you are in a far region from the US servers.

Last updated