【问题标题】:Cucumber: how to switch sessions in Rails (multi-session)Cucumber:如何在 Rails 中切换会话(多会话)
【发布时间】:2011-04-15 21:25:40
【问题描述】:

我需要在一个黄瓜场景中更改会话。

例如

Given session name is "1st unauthenticated user"
And make some things
Given session name is "2st unauthenticated user"
And make some other things

我找到了solution,但它不适用于 Rails 3、Cucumber 和 Capybara。还有其他解决方案吗?

【问题讨论】:

    标签: ruby-on-rails session ruby-on-rails-3 cucumber capybara


    【解决方案1】:

    我找到了有助于解决这个问题的好文章:http://tristandunn.com/2010/10/21/multiple-sessions-cucumber-selenium.html

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-07-05
      • 2012-04-30
      • 2010-10-11
      • 2010-12-30
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-11-30
      相关资源
      最近更新 更多