I want to test an interaction where the user clicks a li开发者_如何学编程nk and a jquery dialog (http://jqueryui.com/demos/dialog/) pops up.
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.
In Firefox, if I try to submit a post without a title, I get: 1 error prohibited this post from being saved.
I am writing integration test for one of my project, usi开发者_Go百科ng the following gems for the same, rspec, capybara and selenium.
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.
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
I have 2 forms in my page. The first form has a field \"Username\" and the second form has a field \"Username:\".
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
Artists cannot rate their own artworks it \"should display error if voting on own artwork\", :js => true do
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