Skip to content

Add GraphQL mutation to create test cases

Felipe Artur requested to merge issue_233479_add_graphql_create_mutation into master

What does this MR do?

Allow to create test cases with GraphQL.

Sample mutation

mutation {
  createTestCase( input: { 
    title: "new title",
    description: "description"
    projectPath: "root/test"
    labelIds: ["115"]
  }) {
    testCase {
      title
      description
      labels {
        edges {
          node {
            id
            title
          }
        }
      }
    }
  }
}

Backend part of #233479 (closed)

Edited by Felipe Artur

Merge request reports