Skip to main content
CypressEnhanced Mochawesome JSON Report
TestMu AI
StatusCommunityBlog
Cypress

Enhanced Mochawesome JSON Report

To fetch mochawesome json report for a test with additional key(video url, screenshot url).

GET
/mochawesome/enhanced/{test_id}
Enhanced Mochawesome JSON Report
curl --request GET \
--url "https://api.lambdatest.com/automation/api/v1/cypress/mochawesome/enhanced/{test_id}" \
--header "Authorization: Basic <encoded-value>"
{
"stats": "{...}",
"results": "[{...}, {...}]",
"meta": "{...}"
}

Authorizations

Authorizationstringheaderrequired

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

test_idstringrequired

get mochawesome json report for a test id

Response

application/json

successful operation

statsstringrequired
resultsarrayrequired
metastringrequired
Enhanced Mochawesome JSON Report
curl --request GET \
--url "https://api.lambdatest.com/automation/api/v1/cypress/mochawesome/enhanced/{test_id}" \
--header "Authorization: Basic <encoded-value>"
{
"stats": "{...}",
"results": "[{...}, {...}]",
"meta": "{...}"
}