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

When working with Cucumber Tests, the Gherkin auto-complete may not work due to extra spaces on the steps

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • prd-1, 6.0.0
    • Cucumber, Test Steps
    • OK

    Description

      Behavior:
      When writing gherkin steps on Cucumber tests, users may have copied their step from a different source, bringing extra spaces in the beggining of the sentence, causing the auto-complete search to not work as expected.

      This behavior can also happen if the shortcut (CTRL+Space) is used rapidly, several times, causing the request to have unwanted spaces and the search does not work as expected.

      Expected result

      Remove any extra spaces sentences may have. 
      Trim any extra spaces before the cucumber Gherkin keywords when querying for step suggestions

      Attachments

        Activity

          People

            dpca Diamantino Campos
            drcs Douglas Souza [X] (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 2 days
                2d
                Remaining:
                Remaining Estimate - 2 days
                2d
                Logged:
                Time Spent - Not Specified
                Not Specified