playwright-bdd
playwright-bdd copied to clipboard
Feature: support defineParameterType for decorator playwright mode?
May be I doing something wrong, but I become always:
You're calling functions (e.g. "defineParameterType") on an instance of Cucumber that isn't running.
This means you have an invalid installation, mostly likely due to:
- Cucumber being installed globally
- A project structure where your support code is depending on a different instance of Cucumber
Either way, you'll need to address this in order for Cucumber to work.
See https://github.com/cucumber/cucumber-js/blob/main/docs/installation.md#invalid-installations
Is there any right place for defineParameterType definitions? :) PS: Thank you for such amazing library :+1:
Currently it is not possible, but this is a good feature request. Added note in the docs and converted the issue into enhancement. Thanks!
Released in v7 RC. I would appreciate if you try and share the feedback. Migration guide.
Landed in v7 🎉 Feel free to create new issue in case of any problems.