Skip to content

← All questions

Duplicate scenario title error but the two titles are not identical

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.

text
✖ features/cart/cart.feature:41  scenario/duplicate  Duplicate scenario title "add an item to the cart" (first at line 12).

Line 12 is Scenario: Add an item to the cart and line 41 is Scenario: add an item to the cart . Different capital letter, and the second one has a trailing space. I would not call those the same title. Is this intentional or is the comparison just sloppy?

asked by Yusuf Demir

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