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

While importing a feature file to Manual/Generic Test via REST API, it returns 200 status instead of error stating mismatch of test types

    XporterXMLWordPrintable

Details

    • XRAYCLOUD 2024 Sprint 9, XRAYCLOUD 2024 Sprint 10
    • OK

    Description

      Description:

      When we import a feature file to a Manual/Generic Test via REST API, it shows 200 status, without changing the Test Type.

      Pre-conditions:

      An existing Manual Test

      How to reproduce

      1. Create a Cucumber Test via REST API with a Cucumber feature file as shown in Importing Cucumber Tests - REST
      2. Change the type of test to Manual Test/ Generic Test
      3. Re-run the API again

      Actual result/Attachments

      200 Status is returned, but the Test Details like Test Type and Scenario are not altered.

      Expected result

      An error should appear stating the mismatch of test types

      Version

       N/A 

      Attachments

        1. Cucumber_sample.feature
          0.6 kB
          Jayanthi Murthi
        2. image-2024-05-13-17-55-36-433.png
          94 kB
          Jayanthi Murthi
        3. image-2024-05-13-17-56-03-608.png
          40 kB
          Jayanthi Murthi

        Activity

          People

            nikhil.diwan Nikhil Diwan
            jayanthi.murthi Jayanthi Murthi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: