Toggle Test Suite Automatic Threshold
The following mutation toggles automatic threshold on a test suite:
ToggleTestSuiteAutomaticTresholdTry in Explorer
GraphQL
mutation ToggleTestSuiteAutomaticTreshold(
$testSuiteId: ObjectID!
$automaticThreshold: Boolean!
$automaticThresholdEnabledForAll: Boolean
) {
updateTestSuite(
input: {
testSuiteId: $testSuiteId
automaticThreshold: $automaticThreshold
automaticThresholdEnabledForAll: $automaticThresholdEnabledForAll
}
) {
testSuite {
id
automaticThreshold
automaticThresholdEnabledForAll
}
}
}
caution
There are 3 options to set the automatic threshold:
automaticThresholdset tofalseandautomaticThresholdEnabledForAllset tofalse- TheautomaticThresholdis disabled for all tests in that test suite, no matter the individual testautomaticThreshold.automaticThresholdset totrueandautomaticThresholdEnabledForAllset tofalse- TheautomaticThresholdis enabled for the test suite, but theautomaticThresholdneeds to be set on individual tests, in order to take effect.automaticThresholdset totrueandautomaticThresholdEnabledForAllset totrue- TheautomaticThresholdis enabled for all tests in that test suite, no matter the individual testautomaticThreshold.