I know that in Capybara, you can do something like this: page.should have_css(\"ol li\", :count => 2)
# acceptance/users_spec.rb page.should have_content \'Włosy\' page.should have_content \'Oczy\' page.should have_content \'Wzrost\'
I am using Capybara 1.0.0, and I have a link in my page which gets visible when mouse hover over that block. So I want to trigger mouse over in test so that I can click that hidden link.开发者_运维百科
I\'m using omniauth and cucumber with a new application.I\'ve got omniauth up and working and am trying to add appropriate cucumber feature tests.I kept running into odd errors in testing- errors that
I am using Capybara for rails integration tests. When it comes to AJAX 开发者_运维知识库requests, I am getting the following error:
A cucumber feature keeps failing because capybara does not render the whole html as intended here is the feature
How do you test pages with single sign-on (SSO) login during integration tests (for instance by using ca开发者_如何转开发ybara or cucumber)? For a normal login, you would write a method which visits t
I\'m using Rails 3.1.0.rc4 and I\'m working on doing integration tests with capybara\'s new Steak-like DSL and Rspec (using Devise authentication)
I am going through this situation: Rails, Cucumber, Capybara: session is not persisted There wasn\'t a开发者_运维技巧 chosen answer on that page, and each posted answer didn\'t work for me, so I will
The problem: toggle javascript support without restarting firefox (nor resorting to different driver) during cucumber test run.