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

Gherkin keywords not supported in any language other than English

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Open
    • Medium
    • Resolution: Unresolved
    • Xray Cloud 6.12.0 | release/6.12.0
    • None
    • Gherkin Steps
    • None
    • N/A

    • UNCOVERED

    Description

      Steps to reproduce:

      1. Create a Cucumber Test and add Gherkin steps in English, like so:
        # Example: 00001 / 00002
        Scenario Outline: Product with price and unit displayed in multiple regions
          Given a user is on the product detail page
          And the product has price and unit of measure values displayed
          And the product has the same unit of measure for multiple regions
          When the user swipes or clicks to move between product cards
          Then the product indicator shows 2 cards
          And each <card> has the title <title>, subtitle <subtitle>, and rates <rates>
        
          Examples:
            | card | title | subtitle        | rates     |
            | 1    | Price | Today           | (Region A), (Region B) |
            | 2    | Price | (Unit of Measure) | (Region A), (Region B) |
        

        The syntax works as expected:

      2. After that, go to Settings > Marketplace apps > Xray > Cucumber, and change the Cucumber Language to a different language:
      3. Now create another Cucumber Test, and add the same Gherkin steps, but in the language that was set before:
         # Ejemplo: 00001 / 00002
        Esquema del escenario: Producto con precio y unidad mostrados en varias regiones
          Dado que un usuario está en la página de detalle del producto
          Y el producto muestra valores de precio y unidad de medida
          Y el producto tiene la misma unidad de medida para varias regiones
          Cuando el usuario desliza o hace clic para cambiar entre tarjetas de producto
          Entonces el indicador del producto muestra 2 tarjetas
          Y cada <card> tiene el título <title>, subtítulo <subtitle> y tarifas <rates>
        
          Ejemplos:
            | card | title | subtitle           | rates     |
            | 1    | Precio | Hoy               | (Región A), (Región B) |
            | 2    | Precio | (Unidad de medida) | (Región A), (Región B) |
        

      Expected result:

      The syntax should be correctly recognized, the same way as it was in English:

      Note: the image above is from Xray DC, just to be used as a reference of what was the expected outcome.

      Actual result:

      The Gherkin words are not highlighted and there is an error indicating that the syntax hasn't been recongnized ("The definition contains invalid Gherkin syntax"):

      Attachments

        Issue Links

          Activity

            People

              bernardo.cottim Bernardo Cottim
              victor.tisbierek Victor Tisbierek
              Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: