Runs UMAI automated browser tests headlessly in your CI/CD pipeline. Outputs JUnit XML results.
1.3K
Runs UMAI test suites headlessly and reports results in standard JUnit XML format.
š Full documentation: https://docs.usemango.ai/cicd/ā
| Component | Details |
|---|---|
| Browsers | Chrome, Firefox, Edge |
| Output | JUnit XML |
| Platform | linux/amd64 |
1. Pull the image
docker pull --platform linux/amd64 usemangoai/test-runner:latest
2. Set up your data directory
umai_data/
āāā pipeline_inputs/
ā āāā api_key.txt # Your UMAI API key
ā āāā test_suite.json # Exported from the UMAI web app
āāā outputs/
āāā junit.xml
3. Run
docker run --rm \
--platform linux/amd64 \
-v /path/to/umai_data:/umai_data \
-e GENERATE_JUNIT_REPORT=true \
usemangoai/test-runner:latest
| Code | Meaning |
|---|---|
0 | All tests passed |
1 | One or more tests failed |
2 | Infrastructure / config error |
- name: Write API key
run: |
echo "${{ secrets.UMAI_API_KEY }}" > umai_data/pipeline_inputs/api_key.txt
mkdir -p umai_data/outputs
- name: Pull UMAI image
run: docker pull --platform linux/amd64 usemangoai/test-runner:latest
- name: Run UMAI tests
run: |
docker run --rm \
--platform linux/amd64 \
-v ${{ github.workspace }}/umai_data:/umai_data \
-e GENERATE_JUNIT_REPORT=true \
usemangoai/test-runner:latest
See Pipeline Examplesā for full workflow files including Jenkins.
Content type
Image
Digest
sha256:76237284eā¦
Size
1.2 GB
Last updated
1 day ago
docker pull usemangoai/test-runner