OBJECT

updateTestStep

link GraphQL Schema definition

1Mutation updateTestStep {
2
3# Mutation used to update a Step of a Test.
4#
5# Arguments
6# stepId: the id of the Step.
7# step: the information to update on the Step.
8updateTestStep(stepId: String!, step: UpdateStepInput!): UpdateTestStepResult
9
10}

link Example

The mutation below will update the Step with id "836d30ec-f034-4a03-879e-9c44a1d6d1fe".

mutation {
    updateTestStep(
        stepId: "836d30ec-f034-4a03-879e-9c44a1d6d1fe",
        step: {
            result: "Xray Cloud Rest Api works as expected",
            customFields: [{id:"5ddc0e585da9670010e608dc", value:"Lisbon"}]
        }
    ) {
        warnings
    }
}