Skip to main content

Retrieve Tests

The following query gets the tests for a given test suite:

Operation: query GetTestSuiteTests($testSuiteId: ObjectID!) { node(id: $testSuiteId) { ... on TestSuite { tests(first: 100) { nodes { id thresholdPredicate absoluteThreshold relativeThreshold severity reportTemplate { name code } } } } } }
GetTestSuiteTestsTry in Explorer
GraphQL
query GetTestSuiteTests($testSuiteId: ObjectID!) {
node(id: $testSuiteId) {
... on TestSuite {
tests(first: 100) {
nodes {
id
thresholdPredicate
absoluteThreshold
relativeThreshold
severity
reportTemplate {
name
code
}
}
}
}
}
}