OBJECT

addEvidenceToTestRunStep

link GraphQL Schema definition

1Mutation addEvidenceToTestRunStep {
2
3# Mutation used to add evidence to a Test Run Step.
4#
5# Arguments
6# testRunId: The id of the Test Run.
7# stepId: the id of the Test Run Step.
8# evidence: the evidence to add to the Test Run Step.
9# iterationRank: the rank of the iteration.
10addEvidenceToTestRunStep(testRunId: String!, stepId: String!, evidence: [AttachmentDataInput], iterationRank: String): AddEvidenceResult
11
12}

link Example

The mutation below adds an evidence to the Test Run Step.

mutation {
    addEvidenceToTestRunStep(
        testRunId: "5e8489c05f200f3cd45bbaf0",
        stepId: "316eb258-10bb-40c0-ae40-ab76004cc505",
        evidence: [
            {
                filename: "evidence.txt"
                mimeType: "text/plain"
                data: "SGVsbG8gV29ybGQ="
            }
        ]
    ) {
        addedEvidence
        warnings
    }
}