OBJECT

addEvidenceToTestRun

link GraphQL Schema definition

1Mutation addEvidenceToTestRun {
2
3# Mutation used to add evidence to a Test Run.
4#
5# Arguments
6# id: the id of the Test Run.
7# evidence: the evidence to add to the Test Run.
8addEvidenceToTestRun(id: String!, evidence: [AttachmentDataInput]!): AddEvidenceResult
9
10}

link Example

The mutation below adds an evidence to the Test Run.

mutation {
    addEvidenceToTestRun(
        id: "5acc7ab0a3fe1b6fcdc3c737",
        evidence: [
            {
                filename: "evidence.txt"
                mimeType: "text/plain"
                data: "SGVsbG8gV29ybGQ="
            }
        ]
    ) {
        addedEvidence
        warnings
    }
}