Skip to content

← All questions

Can one scenario belong to two modules? It touches cart and checkout

Asked 6,890 views3 answers

Our modules each declare a tag, and lint reminds me when a scenario is missing its module's tag:

text
⚠ features/cart/checkout-flow.feature:14  module/tags  Scenario lacks module "cart" tag(s): @cart.

Fine. But the scenario adds an item to the cart and then completes checkout, and checkout is a different module. If I add @checkout as well, is it in two modules, or does the file's directory win regardless of what I tag it?

asked by Rasha Halabi572 ·

3 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