Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: support defineParameterType for decorator playwright mode? #112

Open
swayf opened this issue Mar 15, 2024 · 1 comment
Open

Feature: support defineParameterType for decorator playwright mode? #112

swayf opened this issue Mar 15, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@swayf
Copy link

swayf commented Mar 15, 2024

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 👍

@swayf swayf added the question Further information is requested label Mar 15, 2024
@vitalets vitalets changed the title Question: Is it possible to use defineParameterType for decorator playwright mode? Feature: support defineParameterType for decorator playwright mode? Mar 19, 2024
@vitalets vitalets added enhancement New feature or request and removed question Further information is requested labels Mar 19, 2024
@vitalets
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants