OBJECT

updateTestType

link GraphQL Schema definition

1Mutation updateTestType {
2
3# Mutation used to update the Test Type of a Test.
4#
5#
6# Arguments
7# issueId: the issue id of the Test.
8# versionId: the id of a Test version. If not given, will update the default Test version.
9# testType: the Test Type to update on the Test.
10updateTestType(issueId: String!, versionId: Int, testType: UpdateTestTypeInput!): Test
11
12}

link Example

The mutation below will update the Test Type of the Test with id "12345".

mutation {
    updateTestType(issueId: "12345", testType: {name: "Manual"} ) {
        issueId
        testType {
            name
            kind
        }
    }
}

The mutation below will update the Test Type of the version 3 of the Test with id "12345".

mutation {
    updateTestType(issueId: "12345", versionId: 3, testType: {name: "Manual"} ) {
        issueId
        testType {
            name
            kind
        }
    }
}