capybara
Capybara does not find the text that is actually there!
In my actual project I use the following gems for testing: capybara from git://github.com/jnicklas/capybara.git in revision 6641fddcfc337a3ddaa84ac59272e884090332c3[详细]
2023-03-23 13:39 分类:问答Easiest way to get basic integration coverage in rails?
I\'m taking over an application.It has no testing. I\'m looking for the bare minimum integration testing I can start with to have at least something to yell at me if I break something.[详细]
2023-03-23 08:06 分类:问答Cucumber reading a pdf into a temp file
I\'ve got a cucumber suite set up to read a static PDF file and do assertions on it\'s content. I recently updated all my gems, and since doing so, it doesn\'t work any开发者_Python百科more.[详细]
2023-03-23 06:27 分类:问答Installing and running Capybara on Rails 3 (uninitialized constant Object::Rack (NameError))
I\'m trying to follow the instructions here to install Capybara. But each time I try to run the integration test,I get:[详细]
2023-03-23 02:08 分类:问答How can I run cucumber along with selenium and capybara on a machine without a browser?
I am using capybara and selenium to run my cucumber test on my local machine. For the pages that involves javascript, Selenium activates firefox and crawls through the pages in firefox to do the tasks[详细]
2023-03-22 23:17 分类:问答Using Capybara matchers in a controller spec with ActionController::TestResponse
I\'m calling render_views in my rspec controller spec so I can test the content of the response directly rather than using separate view specs.[详细]
2023-03-22 10:59 分类:问答capybara how to test multiple links with href pattern
Given I have a page with a 10 users listing, How can I test that I have 10 user show links ? I\'ve tried this :[详细]
2023-03-22 01:25 分类:问答Missing Template Error When Calling Render
The error ForumsController create should work for plist Failure/Error: post :create, :name => \"My New Shiny Forum\", :format => \'plist\'[详细]
2023-03-21 17:49 分类:问答Why cant I get selenium to kick in with capybara
Im trying to test a user clicking on a button which makes an ajax call. When i click it manuallly in my browser it behaves as expected i.e. default behaviour of the button is ignored and instead it ge[详细]
2023-03-21 15:05 分类:问答How to click on the second link with the same text using Capybara in Rails 3?
In a view file I have: = link_to \'View\', post = link_to \'View\', comment In开发者_如何学JAVA a spec file (I\'m using Capybara):[详细]
2023-03-20 21:12 分类:问答