Cucumber: how to switch sessions in Rails (multi-session)
-
04-10-2019 - |
문제
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?
해결책
I found great article that help to solve this problem: http://tristandunn.com/2010/10/21/multiple-sessions-cucumber-selenium.html
제휴하지 않습니다 StackOverflow