Skip to content

← All questions

Two Examples blocks, one @smoke and one @regression — lint says found @smoke @regression

Asked 7,480 views2 answers

I wanted one outline with a small set of rows in smoke and the long tail in regression:

gherkin
@ui
Scenario Outline: Shipping is calculated per country
  Given I am on the checkout page
  When I choose the country "<country>"
  Then the shipping cost should be "<cost>"

  # title-format: <country> → <cost>
  @smoke
  Examples: The two we always check
    | country | cost  |
    | DE      | 4.90  |
    | FR      | 6.50  |

  # title-format: <country> → <cost>
  @regression
  Examples: Everything else
    | country | cost  |
    | ES      | 6.50  |
    | PL      | 7.20  |
text
✖ features/checkout/shipping.feature:4  tags/suite  Scenario must carry exactly one suite tag (@smoke, @regression, @sanity); found @smoke @regression.

Both tables are tagged once. Is this rule just not aware of Examples-level tags?

asked by Koen Vermeulen309 ·

2 answers

Have the same question?

Ask it with the command you ran and the output you got, and it will be answered here.

Ask a question

Related