Behave BDD reusing steps from common step file

Viewed 10

How do i re use steps from common_step.py example:

common_feature:

Given log in with "abc" user

common_step:

@given('log in with "{user}" user')

anotherFile_feature

Given log in with "xyz" user

anotherFile_steps:

how do i pass that xyz user in here, can i get an example

thanks

0 Answers
Related