Uploaded image for project: 'Xray for Jira Cloud'
  1. Xray for Jira Cloud
  2. XRAYCLOUD-9871

When calling getDataset with GraphQL, if there are combinatorial parameters, the response has more rows than the number of iterations

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Waiting Approval
    • Medium
    • Resolution: Unresolved
    • Xray Cloud 6.12.2
    • None
    • None
    • Cloud

    Description

      When calling getDataset with GraphQL, if there are combinatorial parameters, the response has more rows than the number of iterations.

      Steps to reproduce:

      • Create a Test
      • Create a Data Set with one Combinatorial Parameter and two values
      • Use the following GraphQL operation:
        {
            getDataset(testIssueId: "186602") {
                id
                parameters {
                    name
                    type
                    listValues
                }
                rows { 
                  order 
                  Values
                }
            }
        }
        

      Actual Result:

      • Four rows are returned

      Expected Result:

      • Only two rows should be returned, as pointed out in the Data Set management

      Attachments

        Issue Links

          Activity

            People

              bernardo.cottim Bernardo Cottim
              pmax Paulo Aleixo
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: