Skip to main content

Update Tests

The follwing mutation updates a test:

mutation UpdateTest($testId: ObjectID!, $relativeTreshold: Int, $serverity: Severity) {
updateTest(input: {
testId: $testId,
relativeThreshold: $relativeTreshold,
severity: $severity
}) {
test {
id
relativeThreshold
severity
}
}
}

Try in explorer

caution
  • It's not possible to update the report template code for a test suite's test. You need to delete the test and create a new one with the new report template code.
  • Updating test won't affect previously completed builds and test results.