OBJECT

getExpandedTest

link GraphQL Schema definition

1Query getExpandedTest {
2
3# Returns a test (with the call test steps expanded) by issue id and version id.
4#
5# Arguments
6# issueId: the id of the test issue to be returned.
7# versionId: the id of a Test version. If not given, will get the default Test version.
8getExpandedTest(issueId: String!, versionId: Int): ExpandedTest
9
10}

link Example

The query below returns the test version 2 of the test with the id "12345".

{
    getExpandedTest(issueId: "12345", testVersionId: "2") {
        issueId
        testType {
            name
            kind
        }
        steps {
            parentTestIssueId
            calledTestIssueId
            id
            data
            action
            result
            attachments {
                id
                filename
            }
        }
        warnings
    }
}