Skip to content

← All questions

Lint says "found @smoke @regression" — why can a scenario not be in both suites?

Example threads. These questions and answers were written by the SDODS team to document real problems and how to fix them. The people named are illustrative, not real users. Questions asked on this site are marked new.

I tagged our happy-path checkout scenario with both suite tags because I want it in the pull-request smoke run and in the nightly regression run. Lint disagrees:

text
✖ features/cart/checkout.feature:18  tags/suite  Scenario must carry exactly one suite tag (@smoke, @regression, @sanity); found @smoke @regression.
1 feature file(s), 1 error(s), 0 warning(s)

Surely wanting a scenario in two suites is normal? Or am I meant to duplicate the scenario?

2 answers

Know the answer?

Wrap commands and output in triple backticks and they will render as a code block.

Checking whether you’re signed in…

Have a different question? Ask it.

Related