-
Notifications
You must be signed in to change notification settings - Fork 221
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
fix: default value not covered by parameters passed through feature file #737
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR! Can we add a test for this?
yes! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I cannot see any changes? I was expecting the tests to be added
sorry I'm late. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried locally, and noticed tests fail - there seems to be issues with some step args now.
Could you address these test failures?
It appears to be when the kwarg isn't an arg of the step
No, on the existing tests. I will invoke a run to report the tests that fail |
I took a look quickly to see if I could find a way to fix this and maintain the cases I mentioned, and came up with something like:
If this helps :) |
Describe the bug
when given multi description for step as below code
and pass parameters from feature file in Scenario Outline
Parameters username, password parameters passed through feature file cannot take effect.
The default values in def are always used。
in above case, the result is
see also:
#610 pr fix this problems
#512