> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# Process E2E Results

- Component: `appmixer.utils.test.ProcessE2EResults`
- Kind: Action
- Version: 1.0.1
- Visibility: Public
- Connector: [appmixer.utils.test 1.1.4](https://connectors.appmixer.com/connector/appmixer.utils.test/1.1.4.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.utils.test/1.1.4/component/appmixer.utils.test.ProcessE2EResults>

Process result from AfterAll component and send email notification.

## Properties

| Field | Type | Description |
| --- | --- | --- |
| Success Storage (`successStoreId`) | select | This is the storage that will be used to store results when test is successful. |
| Failure Storage (`failedStoreId`) | select | This is the storage that will be used to store results when test fails. |

## Input ports

### Port `in`

| Field | Type | Description |
| --- | --- | --- |
| Recipients (`recipients`) | text | Comma separated list of email recipients of the results. |
| Test case name (`testCase`) | text | Name for this test case. |
| Results (`result`) | select | This should be the output from AfterAll component. |

## Full metadata (component.json)

```json
{
  "name": "appmixer.utils.test.ProcessE2EResults",
  "author": "Camilo Manrique <camilo@client.io>",
  "label": "Process E2E Results",
  "description": "Process result from AfterAll component and send email notification.",
  "version": "1.0.1",
  "properties": {
    "schema": {
      "properties": {
        "successStoreId": {
          "type": "string"
        },
        "failedStoreId": {
          "type": "string"
        }
      },
      "required": [
        "successStoreId",
        "failedStoreId"
      ]
    },
    "inspector": {
      "inputs": {
        "successStoreId": {
          "type": "select",
          "label": "Success Storage",
          "index": 1,
          "source": {
            "url": "/component/appmixer/utils/storage/ListStores?outPort=out",
            "data": {
              "transform": "./ListStores#toSelectArray"
            }
          },
          "tooltip": "This is the storage that will be used to store results when test is successful."
        },
        "failedStoreId": {
          "type": "select",
          "label": "Failure Storage",
          "index": 2,
          "source": {
            "url": "/component/appmixer/utils/storage/ListStores?outPort=out",
            "data": {
              "transform": "./ListStores#toSelectArray"
            }
          },
          "tooltip": "This is the storage that will be used to store results when test fails."
        }
      }
    }
  },
  "inPorts": [
    {
      "name": "in",
      "schema": {
        "type": "object",
        "properties": {
          "recipients": {
            "type": "string",
            "format": "email"
          },
          "testCase": {
            "type": "string"
          },
          "result": {
            "type": "string"
          }
        },
        "required": [
          "recipients",
          "testCase",
          "result"
        ]
      },
      "inspector": {
        "inputs": {
          "recipients": {
            "type": "text",
            "label": "Recipients",
            "index": 1,
            "tooltip": "Comma separated list of email recipients of the results."
          },
          "testCase": {
            "type": "text",
            "label": "Test case name",
            "index": 2,
            "tooltip": "Name for this test case."
          },
          "result": {
            "type": "select",
            "label": "Results",
            "index": 3,
            "tooltip": "This should be the output from AfterAll component."
          }
        }
      }
    }
  ],
  "icon": "(data URI omitted)"
}
```
