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

While importing Behave JSON file if the file has only one Test tag, wrong Test results are importing.

    XporterXMLWordPrintable

Details

    • XRAYCLOUD 2024 Sprint 4, XRAYCLOUD 2024 Sprint 5, XRAYCLOUD 2024 Sprint 6
    • OK

    Description

       

      Description:

      While importing Behave results, if the file has only one Test tag and background the imported result shows EXECUTING though the Tests are PASSED in the JSON.

      How to reproduce

      1. API URL: https://xray.cloud.getxray.app/api/v1/import/execution/behave
      2. In the Behave JSON file use only one Test tag also include background.
      3. Import behave JSON Execution results.

      Actual result/Attachments:

      Test result is showing as EXECUTING

      Expected result

      Test result should be based on the status mentioned in JSON File.

      NOTE: If the JSON file has background, results that are wrong, if the background is removed from the JSON the Test result status is working as expected.

       

      Attachments

        Activity

          People

            pablo.pena Pablo Peña
            Naveen.tammisetti Tammisetti Naveen
            Votes:
            4 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: