# Rainforest QA

> Read Rainforest QA test definitions and existing run outcomes.

App · 3 actions. Web page: https://docs.lodol.com/docs/integrations/rainforest-qa

## Actions

### Get test

Read a test definition by its numeric test ID.

**Inputs**

- Test ID (`test_id`, number, required): Numeric test ID from List tests. At least 1.

**Outputs**

- `data` (object): The response from Rainforest QA.

**Example output**

```json
{
  "data": {
    "id": "101",
    "result": "passed",
    "test_id": "101",
    "title": "Checkout works"
  }
}
```

### List runs

Read one page of existing test executions.

**Inputs**

- Page (`page`, number): Page to read. Request subsequent pages explicitly. At least 1.
- Page size (`page_size`, number): Maximum number of records in this page. From 1 to 100.
- Query (`query`, text): Optional run search text.
- Result (`result`, text): Filter run outcome. One of: `passed`, `failed`, `no_result` (No result).

**Outputs**

- `data` (list): The response from Rainforest QA.

**Example output**

```json
{
  "data": [
    {
      "description": "Release regression",
      "id": 500,
      "result": "passed",
      "state": "complete"
    }
  ]
}
```

### List tests

Read one page of existing Rainforest QA tests.

**Inputs**

- Page (`page`, number): Page to read. Request subsequent pages explicitly. At least 1.
- Page size (`page_size`, number): Maximum number of records in this page. From 1 to 100.
- Query (`query`, text): Optional test search text.

**Outputs**

- `data` (list): The response from Rainforest QA.

**Example output**

```json
{
  "data": [
    {
      "id": "101",
      "result": "passed",
      "test_id": "101",
      "title": "Checkout works"
    }
  ]
}
```
