capybara
Devise not working after update, Tests via capybara complete without failures
I\'m quite new to RoR and programmed a couple of things before discovering Test-Driven-Development. So I tried to write some tests with guard-rspec and capybara. All was fine, but I got some deprecati[详细]
2023-04-03 21:12 分类:问答How do I assert nil presence of flash variables with Cucumber-Capybara?
I\'m running a Rails 3.0.7 project with Cucumber and Capybara and I have a step definition that checks if a flash[:error] exists:[详细]
2023-04-03 13:15 分类:问答Capybara: fill_in action locator
So I have this spec describe \"visit /signup\" do before(:each) do get signup_path end it \"has an email input field\" do[详细]
2023-04-03 05:29 分类:问答Capybara + Selenium 2.0 sometimes fails to click on anchor tag
It fails to click on anchor tag <a href=\"#\" onclick=\"...some js function...;return false;\"> (I know <a href=\"#\"> is a bad practice.)[详细]
2023-04-02 10:16 分类:问答Rails 3.1 capybara javascript test access denied
I\'ve just upgraded to Rails 3.1 and now when I try and run my cucumber (capybara) tests with the @javascript tag I get the following error:[详细]
2023-04-02 05:10 分类:问答testing emails with capybara and delayed_job
inspired by the episode of railscast (http://railscasts开发者_C百科.com/episodes/275-how-i-test) i tried to add some request specs to my app.[详细]
2023-04-01 16:03 分类:问答Capybara/Selenium/Chrome not able to change value of select drop-down
When I run my test with the features, steps, and HTML below the test executes without error (until it fails on the assertion steps), but I can see that no change occurs to the drop-down selects.What a[详细]
2023-04-01 12:40 分类:问答Using Capybara along with Devise?
I\'m trying to write a Sign in integration test for my app + devise by using Capybara. 开发者_运维问答Here is what I have so far:[详细]
2023-04-01 09:02 分类:问答What is the best way to test SSL-only URLs with Capybara?
I\'ve gone round and round trying to come up with the cleanest / easiest way to write request specs for certain pages of my site. I basica开发者_C百科lly need a way to get Capybara to load pages that[详细]
2023-04-01 03:13 分类:问答With capybara, how to use page.should render_template
I have the following test: it \"I can Sign Up with Facebook\" do visit new_user_registration_path click_link_or_button \'Sign up with Facebook\'[详细]
2023-04-01 01:28 分类:问答