capybara
Testing jquery dialog with capybara-webkit
I want to test an interaction where the user clicks a li开发者_如何学编程nk and a jquery dialog (http://jqueryui.com/demos/dialog/) pops up.[详细]
2023-04-10 10:00 分类:问答With Capybara, how do I switch to the new window for links with "_blank" targets?
Perhaps this isn\'t actually the issue I\'m experiencing, but it seems that when I \"click_link\" a link with target=\"_blank\", the session keeps the focus on the current window.[详细]
2023-04-09 08:34 分类:问答Why isn't my tests working for this form?
In Firefox, if I try to submit a post without a title, I get: 1 error prohibited this post from being saved.[详细]
2023-04-08 06:05 分类:问答Run selenium on a remote server
I am writing integration test for one of my project, usi开发者_Go百科ng the following gems for the same, rspec, capybara and selenium.[详细]
2023-04-08 04:32 分类:问答Running parallel selenium tests with capybara
Background: I have a set of Capybara integration tests running against my Rails 3 Application. For the other parts of the test suite I\'m using Rspec.[详细]
2023-04-08 03:51 分类:问答rspec+capybara+selenium+spork not closing browser
The same problem with rails tests as here, but on Mac OS X. And when I start specs next time, they hang on js specs until I close the browser manually. And those tests fail, I 开发者_Go百科need to re[详细]
2023-04-07 22:35 分类:问答capybara's fill_in method not working as expected
I have 2 forms in my page. The first form has a field \"Username\" and the second form has a field \"Username:\".[详细]
2023-04-07 16:52 分类:问答Capybara/selenium: wait for element to become hidden
I need to wait for loading b开发者_开发问答ar (div#loading) to disappear (become display: none) in a cucumber step. I\'d expect the following to do the trick[详细]
2023-04-07 09:49 分类:问答how to test a stale link click (or link I can't get to) using capybara/rspec
Artists cannot rate their own artworks it \"should display error if voting on own artwork\", :js => true do[详细]
2023-04-06 21:47 分类:问答Testing drag and drop functionality in rails 3
How do you simulate drag and drop functionality from rspec request specs? I have #divItem element I am dragging and dropping in #divContainer element (jquery). On page refresh I want to make sure tha[详细]
2023-04-06 16:17 分类:问答