Toggle Test Automatic Threshold
The following mutation toggles automatic threshold on a test:
ToggleTestAutomaticThresholdTry in Explorer
GraphQL
mutation ToggleTestAutomaticThreshold(
$testId: ObjectID!
$automaticThresholdEnabled: Boolean!
) {
updateTest(
input: {
testId: $testId
automaticThresholdEnabled: $automaticThresholdEnabled
}
) {
test {
id
automaticThresholdEnabled
}
}
}
caution
- This makes sense only when
automaticThresholdis enabled on the test's test suite andautomaticThresholdEnabledForAllis set tofalseon the test's test suite. - Having
automaticThresholdEnabledForAllset totruewill update the threshold on all tests on that test suite, no matter the value ofautomaticThresholdtest flag.