Uploaded image for project: 'Xray for Jira'
  1. Xray for Jira
  2. XRAY-11231

Custom Test Types are wrongly stored as default Test Types in Database

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • Xray DC 8.0.0
    • None
    • Test Types
    • None
    • Jira Server, Windows, Edge, Postman

    Description

      Description:

      The custom Test Types are stored wrongly as default Xray Test Types(Manual, Generic, or Cucumber) in the database based on their kind. 

      The Test Type is being displayed as default Xray type. If the Custom Test Type is of Kind Steps, then it is Manual, Generic for Unstructured and Cucumber for Gherkin.

      Pre-conditions:

      Having custom Test Types to create a Test.

      How to reproduce

      1. Create a Test of Custom Type.
      2. Run the following query:
      SELECT tm.TYPE AS Test_Type
      FROM AO_8B1069_TEST_RUN tr
      JOIN AO_8B1069_TEST_MEMENTO tm ON tr.TEST_MEMENTO_ID = tm.ID
      WHERE tr.TEST_ISSUE_ID = <TestIssueID>;
      1. Run the following API:
      get <url>/rest/raven/1.0/api/test?keys=<TestKey> 

       

      Actual result/Attachments:

      The custom Test Types are stored wrongly as default Xray Test Types(Manual, Generic, or Cucumber) in the database based on their kind. 

      Expected result:

      The custom Test Type should be displayed.

      Version

      • Xray DC 8.0.0-j10

       

      Attachments

        Issue Links

          Activity

            People

              joana.fonseca Joana Fonseca
              jayanthi.murthi Jayanthi Murthi
              Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: