Replies: 1 comment 1 reply
-
you can place your step functions (e.g. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a way to use Then steps for When definitions with pytest-bdd?
Example,
I have the step in my scenario
Then User downloads the file "test_file.txt"
But my definitions is
There is the error about step is not found. I have scenarios where same step is used with "When" keyword. I would like to use with both. But more globally, i would like to use any step definitions with any of keywords When/Then/Given/And .
Is it possible?
Or there are some "best practices" or rules against this?
Beta Was this translation helpful? Give feedback.
All reactions