Cucumbers: How to Switch Sessions in Rails (Multi-Session)

I need to change the session during one cucumber scenario.

for instance

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 does not work with Rails 3, Cucumber and Capybara. Are there any other solutions?

+3
source share
1 answer

I found a great article that helps solve this problem: http://tristandunn.com/2010/10/21/multiple-sessions-cucumber-selenium.html

+1
source

Source: https://habr.com/ru/post/1766057/


All Articles