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

whenever importing Cucumber scenarios with similar names, wrong scenarios may be updated

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • R3.1.2
    • None
    • None
    • OK

    Description

      whenever importing Cucumber scenarios with similar names, wrong scenarios may be updated.

      This happens because the search by summary is a fuzzy search.

      In the following example, the first time only the first scenario will be created and then it will be overwritten whenever processing the second one because "This is" is similar to "This is green".

       

      Example:

      Feature: xpto
      
      @id:1
      Scenario: This is green
      Given I do this
      When I do that
      Then it should bla
      
      @id:2
      Scenario: This is
      Given I do this
      When I do that
      Then it should bla

      Attachments

        Activity

          People

            pmmr Pedro Rodrigues
            smsf Sergio Freire
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours, 35 minutes
                3h 35m