> For the complete documentation index, see [llms.txt](https://docs.betterform.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.betterform.io/reference/testing.md).

# Integration Testing

## Overview

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

#### Example console log on development env:

```json
{
    "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.
