playwright-bdd icon indicating copy to clipboard operation
playwright-bdd copied to clipboard

Feature: support defineParameterType for decorator playwright mode?

Open swayf opened this issue 11 months ago • 1 comments

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:

swayf avatar Mar 15 '24 23:03 swayf

Currently it is not possible, but this is a good feature request. Added note in the docs and converted the issue into enhancement. Thanks!

vitalets avatar Mar 19 '24 09:03 vitalets

Released in v7 RC. I would appreciate if you try and share the feedback. Migration guide.

vitalets avatar Jul 08 '24 11:07 vitalets

Landed in v7 🎉 Feel free to create new issue in case of any problems.

vitalets avatar Jul 22 '24 15:07 vitalets