I\'m having some problems using Sinatra with Capybara. I want to test a pure javascript application. It\'s just a plain index.html that is being served by Sinatra.
I\'m using similar construction: <div class=\"edit\" style=\"visibility: hidden;\"> <a href=\"some_path\" id=\"edit_item\">Edit</a>
require \'test_helper\' class MyTest < ActionController::IntegrationTest test \"view posts from login page\" do
I have a requests spec that makes multiple calls to visit within a single block (visits \'/sessions/new\' and visits \'/admin\'). This results in:
So here\'s my code for trigger the event page.execute_script(\"$(\'.image_grid\').trigger(\'mouseenter\');\")
I\'ve built a simple Gem to do screenshots for Capybara Webkit on scenario failure, and it also saves an HTML file of the current page regardless of which Capybara driver you are using. However, I am
Here is my problem: I have started spork on my Windows 7 and it just works fine (2 magazine_slave_service are setup -- after several attempts though). But when I run bundle exec rspec spec to execute
I have a slightly weird file upload user flow in an application I am testing which causes the file upload dialogue to remain open when testing with selenium-webdriver, via capybara.
I\'m working with ruby, and I want to test the UI and general behaviour of a server that is in-production. These are strictly non-destructive tests, just to insure the program is working correctly wit
I\'m currently building tests using Capybara/Rails, and want to know the most reliable/standard way for testing that I am on the correct page in the following situations: