YingML opened this issue 3 years ago · 0 comments
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); }
@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);
}