Create Slack Webhooks
The follwing mutation creates a slack webhook for a test suite:
mutation CreateSlackWebhook($testSuiteId: ObjectID!, $url: String!) {
createAutomatorSlackWebhook(input: {
testSuiteId: $testSuiteId,
url: $url
}) {
slackWebhook {
id
url
alertTypes
}
}
}
caution
testSuiteId
and url
are the required fields.