Test Results
API Reference - Test Results
This API resource allows to query test results based on its signature.
Learn how to retrieve before using this resource Test Signature
GET
v1/test-results/:signature
GET
v1/test-results/:signature
Path Parameters
signature:
string
required
signature:
string
requiredThe unique signature of the test, see Test Signature.
Query Parameters
date_start:
string (ISO Datetime)
required
date_start:
string (ISO Datetime)
requiredDate start - the test results included within the date range will be included.
date_end:
string (ISO Datetime)
required
date_end:
string (ISO Datetime)
requiredDate end - the test results included within the date range will be included.
Pagination Parameters
Pagination cursor, see Pagination.
starting_after:
string
starting_after:
string
Pagination cursor.
ending_before:
string
ending_before:
string
Pagination cursor.
limit:
number
limit:
number
Pagination limit
1-100.
Default:10
branch[]:
string
branch[]:
string
Git branches filter. To provide multiple values, use
branch[]=valueA&branch[]=valueB
tag[]:
string
tag[]:
string
Tags filter. To provide multiple values, use
branch[]=valueA&branch[]=valueB
git_author[]:
string
git_author[]:
string
Git authors filter. To provide multiple values, use
git_author[]=valueA&git_author[]=valueB
group[]:
string
group[]:
string
Group filter. To provide multiple values, use
group[]=valueA&group[]=valueB
status[]:
Enum<failed | passed | pending | skipped>
status[]:
Enum<failed | passed | pending | skipped>
Test status filter. To provide multiple values, use
status
[]=failed&status[]=passed
Response
Test
cursor
String
projectId
String
groupId
String
ID of the group which the current test belongs to.
runId
String
instanceId
String
spec
String
machineId
String
ID of the machine which executed the test.
signature
String
title
Array<String>
testId
String
ID of the test as reporter by its framework.
expectedStatus
String<failed | passed | pending | skipped>
Spected status of the test. Only available for Playwright.
status
String<failed | passed | pending | skipped>
Final status of the test after the execution
framework
Framework
displayError
String
Latest error from the test execution
commit
Commit
createdAt
String (ISO Datetime)
Date of the test execution
duration
Number
Total duration of the test execution in milliseconds
flaky
Boolean
attempts
Array<Attempt>
annotations
Array<Annotation>
Commit
branch
String
Git Commit Branch of the recorded result
authorEmail
String
Git Commit Author Email of the recorded result
authorName
String
Git Commit Author Name of the recorded result
sha
String
Git Commit SHA of the recorded result
message
String
Git Commit Message of the recorded result
Framework
clientVersion
String
Version of the reporter used in the test execution
type
Enum
Type of the test execution framework
version
String
Version of the testing framework
Annotation
type
String
Type of the annotation
description
String
Description of the annotation
Attempt
attemptId
String
ID of the attempt
state
Enum<failed | passed | pending | skipped>
Status of the attempt
startedAt
String (ISO Datetime)
Start date of the attempt
duration
Number
Total duration of the attempt in milliseconds
error
Error
Error
message
String
Description of the error
stack
String
More detailed description of the error
location
Location
Location
line
Number
Code line where an error occurred
column
Number
Code column where an error occurred
file
String
File path where an error occurred
Last updated