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

In the getTestRuns() graphQl API for a Cucumber Test, Examples data is not shown, if the Test Run is opened on the Testing Board.

    XporterXMLWordPrintable

Details

    • XRAYCLOUD 2023 Sprint 19, XRYACLOUD 2024 Sprint 1
    • OK

    Description

      Description
      If we use Graphql - getTestRuns(), irrespective of the status

      • If the TestRun is opened in a Testing Board, we cannot get Examples.
      • If the TestRun is not opened in a Testing Board, then we can get Examples[]

      Pre-conditions:
      There should be a cucumber Test with Examples.

      How to reproduce

      1. Create a Test Execution for the Cucumber Test with examples of data.
      2. Do not execute immediately. Also, do not open the Testing Board
      3. Using the GraphQl API - getTestRuns(), fetch the Test Run information.

      Actual result/Attachments
      Examples[] is empty in the resultant JSON data.

      Expected result
      Examples[] in the scenario of the Test should be displayed.

      Attachments

        1. tempsnip-2d.png
          tempsnip-2d.png
          125 kB
        2. tempsnip.png
          tempsnip.png
          116 kB

        Activity

          People

            pedro.teixeira Pedro Daniel Moreira Teixeira (Inactive)
            jayanthi.murthi Jayanthi Murthi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: