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

Dynamic assignment of function parameters based on the parameter name of the step alias is expected #148

Open
YingML opened this issue Nov 18, 2021 · 0 comments

Comments

@YingML
Copy link

YingML commented Nov 18, 2021

Dynamic assignment of function parameters based on the parameter name of the step alias is expected. As shown below:

@step(["<dog> is on the left of <cat>", "<cat> is on the right of <dog>"])

public async checkOnRightStep(dog = null, cat = null){

await checkOnRight(dog, cat);

}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant