Blog Improve It

New Selenium-on-rails is out

Posted by Marcos Tapajós over 5 years ago.

selenium

I'm a little bit late with this post but I think that its publishing may be useful.

I started to use selenium-on-rails plugin almost at the same time that I started to work with Rails and after that I couldn't develop any system without this kind of test. Because of my dependency on this plugin I created a lot of fixes and improvement.

I don't know why but for a long time this plugin was abandoned and a few months ago it received a new mainteiner called Eric Smith that invited me to become a committer and we started to work together. I need to cite that before that, Ryan Bates had done a great job making the plugin compatible with Rails 2.0.

When Eric became the mainteiner he created a project at github and it has become easier to contribute. Some people started to contribute after that, like Nando Vieira.

It is impossible not to admit that the open source world changed after the github.

Two weeks ago we launched the new version of the plugin and now it is compatible with Rails 2.3.2 and, until this post, compatible with Edge Rails too.

I would like to say "thanks" to everybody who cooperated eventhough I probably forgot some names.

Well, Enjoy it!

Tags  | 8 comments

How did you like it? Write your comments and suggestions below!

Follow up this page’s RSS.

Comments (8 up to now)

  1. Vinicius Manhaes Teles said 20 minutes later:

    Awesome work! Congratulations!

  2. Jônatas Paganini said about 8 hours later:

    Congratulations!

  3. Jeff said about 1 month later:

    Are tests working? I get the following:

    $ rake test
    (in /Users/jolma/depot/selenium-on-rails)
    /usr/local/bin/ruby -I"/Users/jolma/depot/selenium-on-rails/lib" -I"/Users/jolma/depot/selenium-on-rails/lib" "/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake/rake_test_loader.rb" "test/paths_test.rb" "test/renderer_test.rb" "test/rselenese_test.rb" "test/selenese_test.rb" "test/selenium_controller_test.rb" "test/selenium_on_rails_config_test.rb" "test/selenium_support_test.rb" "test/setup_test.rb" "test/suite_renderer_test.rb" "test/switch_environment_controller_test.rb" 
    /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:105:in `const_missing': uninitialized constant ActionView::Base::Helpers (NameError)
    



    I'm working on a fix, but don't want to duplicate work if someone else has already fixed.

  4. Kristoffer Roupé said 2 months later:

    Got the exact same problem... "kind of" solved it through adding:

    require 'action_view' require 'actionview/testcase' require 'action_view/renderable' require 'actionview/renderablepartial'

    to my SELENIUM-PLUGIN-PATH\test\testhelper.rb

    that way the test runner actually fires up, but most tests fail due to some "mocha" function error.

  5. Kristoffer Roupé said 2 months later:

    Now that didnt look to good...

    requries were...

    • require 'action_view'
    • require 'actionview/testcase'
    • require 'action_view/renderable'
    • require 'actionview/renderablepartial'
  6. cice said 3 months later:

    same problem here, and kristoffers fix not working for me (running rails 2.3.2 on mac os x)

  7. Robert said 3 months later:

    Has anyone figured out this error?

  8. Daniel said 8 months later:

    The fix for me to at least get the tests to run was to not install the plugin from the SVN url, but instead use the GitHub one.