capybara
Clicking links using Capybara/Cucumber
I\'m attempting to set up Cucumber testing on a Jquery开发者_StackOverflow Mobile app, but testing clicks is throwing an unexpected error.Here is the scenario:[详细]
2023-03-31 16:13 分类:问答Test pasting into a field in Rails
On my web page\'s registration page, I have disabled pasting (with javascript) any text into the \'E-mail confirmation\' fiel开发者_Go百科d. I want to create a test to test this functionality. Is ther[详细]
2023-03-31 08:34 分类:问答How can I alleviate timing/AJAX woes using Capybara/Capybara Webkit/RSpec click_button and page.select?
For the sake of simplicity, I\'ve left out most of my test and only included the offending code. It is:[详细]
2023-03-30 23:37 分类:问答cucumber is not respecting cookies set by server
I\'m working on migrating a large set of cucumber features from Webrat to Capybara and I\'m running into quite a few issues. The primary (and most painful) issue is around cookies.[详细]
2023-03-30 11:00 分类:问答Capybara Cucumber test fail to find xpath when browser is minimized
I\'m running a scenario where form fields are automatically filled in with invalid val开发者_StackOverflow社区ues which trigger some javascripts to show warnings under each incorrectly filled field wh[详细]
2023-03-29 15:18 分类:问答Cucumber How to Hover over an element?
I have an element styled with a css hover. I tried using this page.execute_script(“$(‘#{selector}’).mouseover();”)[详细]
2023-03-29 00:48 分类:问答Response Method not there with Sinatra, Rspec & Capybara
I\'m trying to use Capybara + Rspec to test a Sinatra app, and I\'m having some trouble integrating Capybara with Rspec. Here\'s my spec_helper.rb:[详细]
2023-03-29 00:17 分类:问答Capybara click_link sometimes doesn't work
I\'m using Capybara 1.0.0 with default configuration. click_link \"some existing text\"# --sometimes-- doesn\'t work. weird.[详细]
2023-03-28 20:48 分类:问答Is it possible to run capybara+selenium-webdriver on a CI server on ec2?
If so, can anyone point me in the direction of some resources on the topic or pr开发者_StackOverflow中文版ovide a gist of what needs to go down?[详细]
2023-03-28 19:35 分类:问答Capybara CSS or xpath to find an element based on two conditions
I\'m trying to use the find method to find an element based on the follow开发者_开发技巧ing: id starts with ship_[详细]
2023-03-28 09:25 分类:问答