Cucumber: how to switch sessions in Rails (multi-session)
-
04-10-2019 - |
Question
I need to change session during one cucumber scenario.
For example
Given session name is "1st unauthenticated user"
And make some things
Given session name is "2st unauthenticated user"
And make some other things
I found a solution, but it doesn't work with Rails 3, Cucumber and Capybara. Are there any other solutions?
Solution
I found great article that help to solve this problem: http://tristandunn.com/2010/10/21/multiple-sessions-cucumber-selenium.html
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow