Toggle Test Automatic Threshold
The following mutation toggles automatic threshold on a test:
mutation ToggleTestAutomaticThreshold(
$testId: ObjectID!
$automaticThresholdEnabled: String!
) {
updateTest(
input: {
testId: $testId
automaticThresholdEnabled: $automaticThresholdEnabled
}
) {
test {
id
automaticThresholdEnabled
}
}
}
caution
- This makes sense only when
automaticThreshold
is enabled on the test's test suite andautomaticThresholdEnabledForAll
is set tofalse
on the test's test suite. - Having
automaticThresholdEnabledForAll
set totrue
will update the threshold on all tests on that test suite, no matter the value ofautomaticThreshold
test flag.