OBJECT

getTestRunsById

link GraphQL Schema definition

1Query getTestRunsById {
2
3# Returns multiple Test Runs by id.
4#
5# Arguments
6# ids: the ids of the Test Runs.
7# limit: the maximum amount of Test Runs to be returned. The maximum is 100.
8# start: the index of the first item to return in the page of results (page offset).
9getTestRunsById(ids: [String], limit: Int!, start: Int): TestRunResults
10
11}

link Example

The query below returns the first 100 Test Runs that match the given ids.

{
    getTestRunsById( ids: ["5acc7ab0a3fe1b6fcdc3c737"], limit: 10 ) {
        total
        limit
        start
        results {
            id
            status {
                name
                color
                description
            }
            gherkin
            examples {
                id
                status {
                    name
                    color
                    description
                }
            }
            test {
                issueId
            }
            testExecution {
                issueId
            }
        }
    }
}