OBJECT

updateUnstructuredTestDefinition

link GraphQL Schema definition

1Mutation updateUnstructuredTestDefinition {
2
3# Mutation used to update the Unstructured definition 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# unstructured: the unstructured definition of the Test.
10updateUnstructuredTestDefinition(issueId: String!, versionId: Int, unstructured: String!): Test
11
12}

link Example

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

mutation {
    updateUnstructuredTestDefinition(issueId: "12345", unstructured: "Generic definition" ) {
        issueId
        unstructured
    }
}

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

mutation {
    updateUnstructuredTestDefinition(issueId: "12345", versionId: 3, unstructured: "Generic definition" ) {
        issueId
        unstructured
    }
}