cucumber / cucumber-js

Cucumber for JavaScript
https://cucumber.io
MIT License
5.05k stars 1.09k forks source link

Multiple Rules with language support fail execution #2301

Closed hoefken closed 1 year ago

hoefken commented 1 year ago

👓 What did you see?

A Feature with multiple Rules with german language fails

✅ What did you expect to see?

That multiple Rules are allowed and working properly

📦 Which tool/library version are you using?

cucumber.js 9.1.2

🔬 How could we reproduce it?

grafik

gist

"features\auth.feature" (92:3): expected: #EOF, #TableRow, #TagLine, #ExamplesLine, #ScenarioLine, #RuleLine, #Comment, #Empty, got 'Regel Ich bekomme korrekte Fehler beim Registrieren mit falschen Daten'

📚 Any additional context?

cucumber config:

module.exports = {
  default: '--format-options \'{"snippetInterface": "synchronous"}\' --publish --force-exit',
};

Without the second Rule in the feature file it works as expected: grafik


This text was originally generated from a template, then edited by hand. You can modify the template here.

hoefken commented 1 year ago

After the deletion of node_modules and some weird caches in my IDE it seems to be working just fine. So I will just close this ticket.