I have 3 Frank/Cucumber scenarios, all related to logging in, on different environments: demo, preproduction, production.
I also have a separate Frank/Cucumber scenario that does the log out (which is always the same if the previous scenarios were successful).
What would I have to do to call this logout scenario after each login scenario instead of sequentially? I.e. How can I call the logout scenario multiple times?
Thank you.
In my "Log in" / "Log out" tests, I usually have one big scenario where I test the feature step by step and then another bigger step where I do the same functionality, so I can use it easily several times.
However, if you are running the same tests, only on different environments, maybe you should just run
cucumberagain with different enviroment variables?