Scenario outline Table Value is Getting Cloned on Each Run #1553
Labels
🐛 bug
Defect / Bug
⌛ stale
Will soon be closed by stalebot unless there is activity
🚦 needs tests
Needs tests
Describe the bug
Scenario Outline table value gets appended to the previous iteration value when the table values are same using
<<
operatorTo Reproduce
Feature file -
Step Definition file -
gemfile -
Expected behavior
Should be
loop 1
loop 2
Context & Motivation
This fails Cucumber feature plans in our automation suite. To fix it right now we are updating
<<
with+=
but would be great to have<<
working to append strings.Screenshots
Your Environment
Additional context
When Cucumber is downgraded to 6.0.0
<<
does not clone/append strings and works fineWhen I use Cucumber Expressions in step definition I can't reproduce the issue it's only when I use regular expression.
And when table values are not same this issue cannot be reproduced
The text was updated successfully, but these errors were encountered: