OBJECT

setTestRunTimer

link GraphQL Schema definition

1Mutation setTestRunTimer {
2
3# Mutation used to set the timer in Test Run. This will start, pause or stop the timer in Test Run.
4#
5# Arguments
6# testRunId: the id of the Test Run.
7# running: to start (true) or pause (false) the timer
8# reset: to stop the timer
9setTestRunTimer(testRunId: String!, running: Boolean, reset: Boolean): String
10
11}

link Example

The mutation below start the timer in Test Run.

mutation {
    setTestRunTimer( 
        testRunId: "5acc7ab0a3fe1b6fcdc3c737"
        running: true
    ) {
        warnings
    }
}

The mutation below stop the timer in Test Run.

mutation {
    setTestRunTimer( 
        testRunId: "5acc7ab0a3fe1b6fcdc3c737"
        reset: true
    ) {
        warnings
    }
}