我正在使用水豚来测试我的按钮点击功能。end
end当我从视图中删除类名为'rights_link‘的div时,我没有得到错误 Capybara::PoltergeistPoltergeist detected another element with CSS selector 'html body footer div#footer div#login_info a'
水豚+幽灵在我的rails 4+ angular应用程序中的大多数功能测试中都工作得很好。但是,我在测试使用 JS库的代码时遇到了问题。fixtures/images/property.jpg",我还尝试使用trigger方法手动触发事件这些都是失败的。#these fail with with 'Ca
刚从Cucumber+Webrat转到Cucumber+Capybara,我想知道你怎么才能把内容发布到Capybara的网址上。When /^I send "([^\"]*)" to "([^\"]*)"$/ do |file, project| f = File.new(File.join(::Rails.root.