Continuing on from BDD Feature Files guidelines
Say I have 10 feature files testing user actions 1-10, 1-Fund transferring, 2-Display balance, 3-etc
feature files:
In ‘Fund transferring’, login, navigate to fund transfers, transfer test.
In ‘Display balance’, login, navigate to balanes, verify balances.
etc
What is the best way to structure these to have login as a pre-req so as not to need logging in each time?
In ‘login’, login successfully. If passed:
In ‘Fund transferring’, navigate to fund transfers, transfer test.
In ‘Display balance’, navigate to balanes, verify balances.
etc
Source: Read More