开发者

Cucumber: how to switch sessions in Rails (multi-session)

开发者 https://www.devze.com 2023-01-17 08:45 出处:网络
I need to change session during one cucumb开发者_开发技巧er scenario. For example Given session name is \"1st unauthenticated user\"

I need to change session during one cucumb开发者_开发技巧er 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

0

精彩评论

暂无评论...
验证码 换一张
取 消