Cucumber Expression matching ambiguity with overlapping step definitions
In Cucumber 7.x and later, the transition from Regular Expressions to Cucumber Expressions has standardized how step parameters are parsed. While types like { int} and { string} improve readability, a specific behavioral challenge arises when multiple step definitions match the same Gherkin line. When a Gherkin step satisfies the criteria for two or more Cuc