I have a user-signup Scenario, and then I want to use that DB state for two different action flows. Currently I'm doing:
Scenario
[copy all the whens from user-signup Scenario]
When ..
Then action A is complete
Scenario
[copy all the whens from user-signup Scenario]
When ..
Then action B is complete
I'd like to do something like:
Background
Given user-signup Scenario
Scenario
When ..
Then action A is complete
Scenario
When ..
Then action B is complete
Note that I don't want to write a method that sets up the user data, because it's complex and varying based on 3rd party API calls (so I can't just insert json records).